# FSRiver Plugin Problem

**URL:** <https://discuss.elastic.co/t/fsriver-plugin-problem/17076>\
**Category:** Elasticsearch\
**Created:** [April 18, 2014, 9:42am UTC](https://discuss.elastic.co/t/fsriver-plugin-problem/17076 "2014-04-18T09:42:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumit\_gupta\_sgt](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@sumit\_gupta\_sgt](https://discuss.elastic.co/u/sumit_gupta_sgt)\
**Post date:** [April 18, 2014, 9:42am UTC](https://discuss.elastic.co/t/fsriver-plugin-problem/17076/1 "2014-04-18T09:42:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:35am UTC](https://discuss.elastic.co/t/fsriver-plugin-problem/17076/2 "2017-07-06T01:35:06Z")

</div>


