Index files using FsRiver

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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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.

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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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 the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@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.

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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.

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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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+unsubscribe@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.

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:

Are U using an old version of fsriver?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nbpowuAZ7Qha-on59zy1qyc553Ar%3D9h%3DNu8CKdBLRDUzA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:

Are U using an old version of fsriver?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY75TBb0oxXiHU92wsfPzdvUDBEnwzA76MV9T-6Bq1utw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:

Are U using an old version of fsriver?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.
For more options, visit https://groups.google.com/groups/opt_out.

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@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+unsubscribe@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.

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name
mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper
syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

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.

So your query should work…

Just to check, could you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{

  • "took": 2,*
  • "timed_out": false,*
  • "_shards": {*
  •  "total": 5,*
    
  •  "successful": 5,*
    
  •  "failed": 0*
    
  • },*
  • "hits": {*
  •  "total": 0,*
    
  •  "max_score": null,*
    
  •  "hits": []*
    
  • }*
    }

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:

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 you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name
mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper
syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a
écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr?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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.comhttps://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Probably because you need to lowercase it in that case:

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "annualcompensation_20132014.pdf"
}
}
}

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:51:13, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:
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.

So your query should work…

Just to check, could you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.7bfa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

When I use match_phrase query on file content, it returns proper result

POST /mydocs/doc/_search?pretty=true
{"query": {"match_phrase": {"content": "some text goes here"}}}

But if i use the same query on file name, property, it returns all possible
combinations

POST /mydocs/doc/_search?pretty=true
{"query": {"match_phrase": {"file.filename":
"AnnualCompensation_20122013.pdf"}}}

For e.g in above query, it returns two seperates filename string by _ and
returns all documents which have file name starting with AnnualCompensation

On 6 March 2014 14:21, Nitesh Earkara enitesh@gmail.com wrote:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{

  • "took": 2,*
  • "timed_out": false,*
  • "_shards": {*
  •  "total": 5,*
    
  •  "successful": 5,*
    
  •  "failed": 0*
    
  • },*
  • "hits": {*
  •  "total": 0,*
    
  •  "max_score": null,*
    
  •  "hits": []*
    
  • }*
    }

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:

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 you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name
mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper
syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a
écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr?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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.comhttps://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb7psKyD8NSv19EPPCQhoJbPh5X1Nauj7q3Y2cAgs35Fg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Even the lowercase didn't work.

On 6 March 2014 14:23, David Pilato david@pilato.fr wrote:

Probably because you need to lowercase it in that case:

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "annualcompensation_20132014.pdf"
}
}
}

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:51:13, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{

  • "took": 2,*
  • "timed_out": false,*
  • "_shards": {*
  •  "total": 5,*
    
  •  "successful": 5,*
    
  •  "failed": 0*
    
  • },*
  • "hits": {*
  •  "total": 0,*
    
  •  "max_score": null,*
    
  •  "hits": []*
    
  • }*
    }

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:

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 you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

  --

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name
mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper
syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a
écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr?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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.comhttps://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nayyA%3DNsvnxumoUg6wHMqWdDTaQ-eKBxq4Gv9uQE%2B5pTw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ha! I see.

curl "localhost:9200/_analyze?analyzer=simple&pretty" -d 'AnnualCompensation_20122013.pdf'

{
"tokens" : [ {
"token" : "annualcompensation",
"start_offset" : 0,
"end_offset" : 18,
"type" : "word",
"position" : 1
}, {
"token" : "pdf",
"start_offset" : 28,
"end_offset" : 31,
"type" : "word",
"position" : 2
} ]
}

Simple Analyzer does not simply lowercase the content but also break tokens which is not what I was expecting when reading: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-simple-analyzer.html
I should have read all details (one click later):
A tokenizer of type lowercase that performs the function of Letter Tokenizer and Lower Case Token Filter together. It divides text at non-letters and converts them to lower case. While it is functionally equivalent to the combination of Letter Tokenizer and Lower Case Token Filter, there is a performance advantage to doing the two tasks at once, hence this (redundant) implementation.

Could you open an issue in FSRiver project so I can fix that?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:55:12, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even the lowercase didn't work.

On 6 March 2014 14:23, David Pilato david@pilato.fr wrote:
Probably because you need to lowercase it in that case:

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "annualcompensation_20132014.pdf"
}
}
}

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:51:13, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:
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.

So your query should work…

Just to check, could you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nayyA%3DNsvnxumoUg6wHMqWdDTaQ-eKBxq4Gv9uQE%2B5pTw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53183c3a.5c482a97.7bfa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Hi David,

Thanks a lot for your help through out.

I have raised issue for the same.

Url - file.filename should be not_analyzed · Issue #53 · dadoonet/fscrawler · GitHub

Please let me know once fix is available

Also I am not able to do a wildcard search

POST /mydocs/doc/_search
{"query": {"wildcard": {"content": "D*"}}}

Above query returns no result eventhough there's a text Dear in the file
contents
Also

On 6 March 2014 14:43, David Pilato david@pilato.fr wrote:

Ha! I see.

curl "localhost:9200/_analyze?analyzer=simple&pretty" -d
'AnnualCompensation_20122013.pdf'

{

"tokens" : [ {

"token" : "annualcompensation",

"start_offset" : 0,

"end_offset" : 18,

"type" : "word",

"position" : 1

}, {

"token" : "pdf",

"start_offset" : 28,

"end_offset" : 31,

"type" : "word",

"position" : 2

} ]

}

Simple Analyzer does not simply lowercase the content but also break
tokens which is not what I was expecting when reading:
Elasticsearch Platform — Find real-time answers at scale | Elastic
I should have read all details (one click later):
A tokenizer of type lowercase that performs the function of Letter
Tokenizerhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-letter-tokenizer.html
and Lower Case Token Filterhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-lowercase-tokenfilter.html together.
It divides text at non-letters and converts them to lower case. While it is
functionally equivalent to the combination of Letter Tokenizerhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-letter-tokenizer.html
and Lower Case Token Filterhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-lowercase-tokenfilter.html,
there is a performance advantage to doing the two tasks at once, hence this
(redundant) implementation.

Could you open an issue in FSRiver project so I can fix that?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:55:12, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even the lowercase didn't work.

On 6 March 2014 14:23, David Pilato david@pilato.fr wrote:

Probably because you need to lowercase it in that case:

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "annualcompensation_20132014.pdf"
}
}
}

 --

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:51:13, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{

  • "took": 2,*
  • "timed_out": false,*
  • "_shards": {*
  •  "total": 5,*
    
  •  "successful": 5,*
    
  •  "failed": 0*
    
  • },*
  • "hits": {*
  •  "total": 0,*
    
  •  "max_score": null,*
    
  •  "hits": []*
    
  • }*
    }

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:

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 you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

  --

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name
mydocument.pdf.

Please let me know if I am querying properly or do let me know the
proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:

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 david@pilato.fr wrote:

Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:

Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 17:58:54, Nitesh Earkara (enitesh@gmail.com) a
écrit:

Even that gave me same results

Thanks & Regards,

Nithesh Erakkara

Phone :- +91-9833-742-684

Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 5 mars 2014 à 11:50:47, Nitesh Earkara (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78b4d1e-9809-4869-8bf6-bf1e068a01e8%40googlegroups.comhttps://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+unsubscribe@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.localhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0DF7F966-1057-4E8C-846F-D6023D32FD50%40gmail.comhttps://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+unsubscribe@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.localhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nb8-mF0G6O_SzUstuEyXCkXGFtBLJ%2BO49LnzE8gjesw5w%40mail.gmail.comhttps://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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.frhttps://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
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr?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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.comhttps://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAOkk-nayyA%3DNsvnxumoUg6wHMqWdDTaQ-eKBxq4Gv9uQE%2B5pTw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAOkk-nayyA%3DNsvnxumoUg6wHMqWdDTaQ-eKBxq4Gv9uQE%2B5pTw%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/etPan.53183c3a.5c482a97.7bfa%40MacBook-Air-de-David.localhttps://groups.google.com/d/msgid/elasticsearch/etPan.53183c3a.5c482a97.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
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-napc%3Dj7fTSJL9a_tCM14uqMamEuqVUeFr3ELxjVxORBdA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

wildcard queries are not analyzed.
may be d* will work in your case.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 11:50:46, Nitesh Earkara (enitesh@gmail.com) a écrit:

Hi David,

Thanks a lot for your help through out.

I have raised issue for the same.

Url - https://github.com/dadoonet/fsriver/issues/53

Please let me know once fix is available

Also I am not able to do a wildcard search

POST /mydocs/doc/_search
{"query": {"wildcard": {"content": "D*"}}}

Above query returns no result eventhough there's a text Dear in the file contents
Also

On 6 March 2014 14:43, David Pilato david@pilato.fr wrote:
Ha! I see.

curl "localhost:9200/_analyze?analyzer=simple&pretty" -d 'AnnualCompensation_20122013.pdf'

{
"tokens" : [ {
"token" : "annualcompensation",
"start_offset" : 0,
"end_offset" : 18,
"type" : "word",
"position" : 1
}, {
"token" : "pdf",
"start_offset" : 28,
"end_offset" : 31,
"type" : "word",
"position" : 2
} ]
}

Simple Analyzer does not simply lowercase the content but also break tokens which is not what I was expecting when reading: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-simple-analyzer.html
I should have read all details (one click later):
A tokenizer of type lowercase that performs the function of Letter Tokenizer and Lower Case Token Filter together. It divides text at non-letters and converts them to lower case. While it is functionally equivalent to the combination of Letter Tokenizer and Lower Case Token Filter, there is a performance advantage to doing the two tasks at once, hence this (redundant) implementation.

Could you open an issue in FSRiver project so I can fix that?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:55:12, Nitesh Earkara (enitesh@gmail.com) a écrit:

Even the lowercase didn't work.

On 6 March 2014 14:23, David Pilato david@pilato.fr wrote:
Probably because you need to lowercase it in that case:

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "annualcompensation_20132014.pdf"
}
}
}

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:51:13, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

GET /mydocs/doc/_mapping?pretty

This query returns below result

"doc": {
"properties": {
"content": {
"type": "string",
"store": true
},
"file": {
"properties": {
"content_type": {
"type": "string",
"store": true,
"analyzer": "simple"
},
"filename": {
"type": "string",
"store": true,
"analyzer": "simple"

I am not pasting complete result.

If i use term query, then i don't get any result

GET /mydocs/doc/_search
{
"query" : {
"term" : {
"file.filename" : "AnnualCompensation_20132014.pdf"
}
}
}

Result is

{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}

On 6 March 2014 13:55, David Pilato david@pilato.fr wrote:
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.

So your query should work…

Just to check, could you try with a TermQuery instead a MatchQuery?

Could you also gist the mapping?

GET /mydocs/doc/_mapping?pretty

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 09:17:20, Nitesh Earkara (enitesh@gmail.com) a écrit:

Thanks David.

Can you suggest which query should I use for exact match?

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 6 Mar 2014, at 13:10, David Pilato david@pilato.fr wrote:

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 :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 08:25, Nitesh Earkara enitesh@gmail.com a écrit :

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" : {
"match" : {
"file.filename" : "mydocument.pdf"
}
}
}

it retrieves all results and not just the document that has file name mydocument.pdf.

Please let me know if I am querying properly or do let me know the proper syntax for the same.

On 6 March 2014 12:12, Nitesh Earkara enitesh@gmail.com wrote:
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 david@pilato.fr wrote:
Fsriver has not been released yet for es 1.0.

I will do it soonish.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 6 mars 2014 à 06:31, Nitesh Earkara enitesh@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 enitesh@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 enitesh@gmail.com wrote:
Hi David,

I am using version 0.4.0

On 5 March 2014 23:10, David Pilato david@pilato.fr wrote:
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 (enitesh@gmail.com) a écrit:

Even that gave me same results

Thanks & Regards,
Nithesh Erakkara
Phone :- +91-9833-742-684
Email :- enitesh@gmail.com

On 5 Mar 2014, at 22:20, David Pilato david@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 (enitesh@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
}
}

  1. Check if river created or not

GET /_river/mynewriver/_search

  1. 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+unsubscribe@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+unsubscribe@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+unsubscribe@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 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+unsubscribe@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.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@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.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E4E8DAC-9184-4484-9B33-6C735592B5EA%40pilato.fr.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@gmail.com
+919833742684

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nY-abDqFRgc4bOoCR0x1xnvSR76mBmHn5v19e94fMxtXw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B5E9B8E3-D55A-4348-9CF5-8C24E1A29DC6%40pilato.fr.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6140EC4B-2E75-4FC4-8E10-C4BED6ADFB11%40gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.531830fe.333ab105.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-naqpjY5rm4Doq-31hnLg03EhTahtOb_UgkhnWVqLkvKGw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53183787.1e7ff521.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-nayyA%3DNsvnxumoUg6wHMqWdDTaQ-eKBxq4Gv9uQE%2B5pTw%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53183c3a.5c482a97.7bfa%40MacBook-Air-de-David.local.

For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks & Regards,
Nithesh Erakkara
enitesh@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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAOkk-napc%3Dj7fTSJL9a_tCM14uqMamEuqVUeFr3ELxjVxORBdA%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53185b61.180115be.7bfa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.