Re: Index files using FsRiver

2014-03-06 Thread David Pilato
Hmm… I looked at the code of fsriver 0.4.0 and it sounds like I use by default simple analyzer on file.filename field. https://github.com/dadoonet/fsriver/blob/fsriver-0.4.0/src/main/java/fr/pilato/elasticsearch/river/fs/util/FsRiverUtil.java#L132 So your query should work… Just to check, could

Re: Index files using FsRiver

2014-03-06 Thread Nitesh Earkara
Thanks David. Can you suggest which query should I use for exact match? Thanks & Regards, Nithesh Erakkara Phone :- +91-9833-742-684 Email :- enit...@gmail.com > On 6 Mar 2014, at 13:10, David Pilato wrote: > > Probably because file.filename is analyzed. > Using a match query will basically se

Re: Index files using FsRiver

2014-03-05 Thread David Pilato
Probably because file.filename is analyzed. Using a match query will basically search here for "mydocument" or "pdf". Default mapping and field names will change with coming FSriver 1.0. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 6 mars 2014 à 08:25, Nitesh Earkara

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
Hi David, Thanks a lot for your help I did install 0.90.12 version of es and installed plugin fsriver 0.4.0. Now the query GET /mydocs/_search is retrieving me results of all the document present in the folder as per index but when I run query GET /mydocs/doc/_search { "query" : { "mat

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
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 wrote: >

Re: Index files using FsRiver

2014-03-05 Thread David Pilato
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 a écrit : My ElasticSearch server window shows below things displayed [2014-03-05 17:21:22,782][INFO ][node

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
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

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
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 wrote: > Hi David, > > I am using version 0.4.0 > > > On 5 March 2014 23:10, David Pilato wrote: > >> Are U us

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
Hi David, I am using version 0.4.0 On 5 March 2014 23:10, David Pilato wrote: > Are U using an old version of fsriver? > > > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet | > @elasticsearchfr

Re: Index files using FsRiver

2014-03-05 Thread David Pilato
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 Ema

Re: Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
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 wrote: > > Don't search in _river index but in destination index, which is `mydocs` in > your case. > > -- > David Pilato | Technical

Re: Index files using FsRiver

2014-03-05 Thread David Pilato
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 usin

Index files using FsRiver

2014-03-05 Thread Nitesh Earkara
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 Letter