Are U using an old version of fsriver?
-- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enit...@gmail.com) a écrit: Even that gave me same results Thanks & Regards, Nithesh Erakkara Phone :- +91-9833-742-684 Email :- enit...@gmail.com On 5 Mar 2014, at 22:20, David Pilato <da...@pilato.fr> wrote: Don't search in _river index but in destination index, which is `mydocs` in your case. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enit...@gmail.com) a écrit: Hi, I am trying to index files in my system using fsriver and then search them. But I'm not able to search them. Below is the steps performed. 1. Create a local fs river PUT /_river/mynewriver/_meta { "type": "fs", "fs": { "url": "C:\\Users\\ner\\Downloads\\TCS Docs\\Compenstion Letters\\", "update_rate": 3600000, "includes": [ "*.doc" , "*.xls", "*.pdf" ] }, "index": { "index": "mydocs", "type": "doc", "bulk_size": 50 } } 2. Check if river created or not GET /_river/mynewriver/_search 3. Search file POST /_river/mynewriver/_search { "query" : { "term" : { "file.filename" : "AnniversayLetter_20112012.pdf" } } } The last query for search retrieves result { "took": 1, "timed_out": false, "_shards": { "total": 1, "successful": 1, "failed": 0 }, "hits": { "total": 0, "max_score": null, "hits": [] } } It doesn't return the file details although file is present in folder Anyone has any idea???? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/DPS3JNvXQDA/unsubscribe. To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.531755c3.1f16e9e8.7bfa%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.5317618c.ded7263.7bfa%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/groups/opt_out.