FSRiver Plugin Problem


(Sumit Gupta) #1

Hi,

i using FS river plugin for Indexing some .txt file.Suppose i have one test.txt which has content like:
testone
testtwo
testthree

I am using these queries for Indexing Document.

curl -XPUT 'localhost:9200/mydocs/' -d '{}'

curl -XPUT 'localhost:9200/_river/mydocs/_meta' -d '{
"type": "fs",
"fs": {
"url": "C:\TEMP",
"update_rate": 900000,
"includes": ".doc,.pdf,*.txt",
"excludes": "resume"
}
}'

My question is can i index like testone,testtwo,testthree is individual document inside test.txt file so if i search for testone it only gives testone document inside that test.txt file.

Thanks & Regards,
Sumit Gupta


(system) #2