Hi David, Thanks. So is there a bug in existing fsriver or is it not compatible with es 1.0.
If its compatible with any previous version of es, let me know. I would like to try it out. Also if there are any other rivers i can use , do let me know. On 6 March 2014 12:08, David Pilato <da...@pilato.fr> wrote: > Fsriver has not been released yet for es 1.0. > > I will do it soonish. > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > > > Le 6 mars 2014 à 06:31, Nitesh Earkara <enit...@gmail.com> a écrit : > > My ElasticSearch server window shows below things displayed > > [2014-03-05 17:21:22,782][INFO ][node ] [Frank Payne] > versio > n[1.0.1], pid[4896], build[5c03844/2014-02-25T15:52:53Z] > [2014-03-05 17:21:22,784][INFO ][node ] [Frank Payne] > initia > lizing ... > [2014-03-05 17:21:23,697][INFO ][plugins ] [Frank Payne] > loaded > [jdbc-river, river-fs], sites [] > [2014-03-05 17:21:31,848][INFO ][node ] [Frank Payne] > initia > lized > [2014-03-05 17:21:31,848][INFO ][node ] [Frank Payne] > starti > ng ... > [2014-03-05 17:21:32,308][INFO ][transport ] [Frank Payne] > bound_ > address {inet[/0:0:0:0:0:0:0:0:9301]}, publish_address {inet[/ > 192.9.205.37:9301] > } > [2014-03-05 17:21:35,669][INFO ][cluster.service ] [Frank Payne] > detect > ed_master [Mad Thinker][5SmeADN9SYex_owrQ9CLHA][JLTIVMDEV10][inet[/ > 192.9.205.37: > 9300]], added {[Mad > Thinker][5SmeADN9SYex_owrQ9CLHA][JLTIVMDEV10][inet[/192.9.20 > 5.37:9300]],}, reason: zen-disco-receive(from master [[Mad > Thinker][5SmeADN9SYex > _owrQ9CLHA][JLTIVMDEV10][inet[/192.9.205.37:9300]]]) > [2014-03-05 17:21:35,725][INFO ][discovery ] [Frank Payne] > elasti > csearch/A8mG-X4_S3KPLnQj9gPLfg > [2014-03-05 17:21:35,822][INFO ][http ] [Frank Payne] > bound_ > address {inet[/0:0:0:0:0:0:0:0:9201]}, publish_address {inet[/ > 192.9.205.37:9201] > } > [2014-03-05 17:21:35,826][INFO ][node ] [Frank Payne] > starte > d > [2014-03-05 17:22:07,045][INFO > ][fr.pilato.elasticsearch.river.fs.river.FsRiver] > [Frank Payne] [fs][mynewriver] Starting fs river scanning > [2014-03-05 17:22:07,062][WARN ][river ] [Frank Payne] > failed > to get _meta from [fs]/[mynewriver] > java.lang.NoSuchMethodError: > org.elasticsearch.action.admin.cluster.state.Cluste > > rStateRequestBuilder.setFilterIndices([Ljava/lang/String;)Lorg/elasticsearch/act > ion/admin/cluster/state/ClusterStateRequestBuilder; > at > fr.pilato.elasticsearch.river.fs.river.FsRiver.isMappingExist(FsRiver > .java:300) > at > fr.pilato.elasticsearch.river.fs.river.FsRiver.pushMapping(FsRiver.ja > va:315) > at > fr.pilato.elasticsearch.river.fs.river.FsRiver.start(FsRiver.java:229 > ) > at > org.elasticsearch.river.RiversService.createRiver(RiversService.java: > 148) > at > org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(Rivers > Service.java:275) > at > org.elasticsearch.river.RiversService$ApplyRivers$2.onResponse(Rivers > Service.java:269) > at > org.elasticsearch.action.support.TransportAction$ThreadedActionListen > er$1.run(TransportAction.java:93) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > > > > On 6 March 2014 10:32, Nitesh Earkara <enit...@gmail.com> wrote: > >> And if I run query >> >> GET /_river/mydocs/_meta >> >> I get result >> >> { >> "_index": "_river", >> "_type": "mydocs", >> "_id": "_meta", >> "found": false >> } >> >> >> On 6 March 2014 10:29, Nitesh Earkara <enit...@gmail.com> wrote: >> >>> Hi David, >>> >>> I am using version 0.4.0 >>> >>> >>> On 5 March 2014 23:10, David Pilato <da...@pilato.fr> wrote: >>> >>>> Are U using an old version of fsriver? >>>> >>>> >>>> >>>> -- >>>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com >>>> <http://Elasticsearch.com>* >>>> @dadoonet <https://twitter.com/dadoonet> | >>>> @elasticsearchfr<https://twitter.com/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 >>>> <http://Elasticsearch.com>* >>>> @dadoonet <https://twitter.com/dadoonet> | >>>> @elasticsearchfr<https://twitter.com/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<https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> 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<https://groups.google.com/d/msgid/elasticsearch/etPan.531755c3.1f16e9e8.7bfa%40MacBook-Air-de-David.local?utm_medium=email&utm_source=footer> >>>> . >>>> 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<https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> 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.5317618c.ded7263.7bfa%40MacBook-Air-de-David.local<https://groups.google.com/d/msgid/elasticsearch/etPan.5317618c.ded7263.7bfa%40MacBook-Air-de-David.local?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Thanks & Regards, >>> Nithesh Erakkara >>> enit...@gmail.com >>> +919833742684 >>> >> >> >> >> -- >> Thanks & Regards, >> Nithesh Erakkara >> enit...@gmail.com >> +919833742684 >> > > > > -- > Thanks & Regards, > Nithesh Erakkara > enit...@gmail.com > +919833742684 > > -- > 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/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr<https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- Thanks & Regards, Nithesh Erakkara enit...@gmail.com +919833742684 -- 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/CAOkk-nZ%3DF0pQx6-LGCC%2BahTSBvifFMcqDoSPA54RsDwfc9N0SA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.