# Error in elastic search cluster

**URL:** <https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333>\
**Category:** Elasticsearch\
**Created:** [March 27, 2013, 12:04pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333 "2013-03-27T12:04:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajitpals](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ajitpals/32/2105_2.png) [@ajitpals](https://discuss.elastic.co/u/ajitpals)\
**Post date:** [March 27, 2013, 12:04pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/1 "2013-03-27T12:04:15Z")

</div>

Hi,

I'm using the Elasticsearch cluster .20.6 with following plugin installed  
[mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy,  
head]. I'm able to create the index in cluster with following curl command

curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies

> with {"ok":true,"acknowledged":true}

when i try to set the index properties with following command

curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{ "type": "fs", "fs": { "name": "My tmp dir", "url": "/tmp", "update\_rate": 900000, "includes": "_.doc,_.pdf", "excludes": "resume" }}'

> in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs  
> ","\_id":"\_meta","\_version":1}

in Elasticsearch cluster, it don't index the following path and getting  
following error:

Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]"

> > java.lang.NoSuchMethodError:  
> > org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;
> 
> at
> 
> > org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)
> 
> at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)
> 
> at java.lang.Thread.run(Unknown Source)

If elastic cluster is restated, it work fine and index the files, but same  
error is coming every time on index settings.

thanks  
Ajit

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2013, 1:22pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/2 "2013-03-27T13:22:48Z")

</div>

Hi,

FSRiver 0.1.0 is not compatible with older version of ES.  
See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)

Update ES to 0.90.x or downgrade FS River to 0.0.3

## HTH

David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit.kamboj@gmail.com](mailto:ajit.kamboj@gmail.com) a écrit :

> Hi,
> 
> I'm using the Elasticsearch cluster .20.6 with following plugin installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy, head]. I'm able to create the index in cluster with following curl command
> 
> curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies with {"ok":true,"acknowledged":true}
> 
> when i try to set the index properties with following command
> 
> curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{  
> "type": "fs",  
> "fs": {  
> "name": "My tmp dir",  
> "url": "/tmp",  
> "update\_rate": 900000,  
> "includes": "_.doc,_.pdf",  
> "excludes": "resume"  
> }  
> }'  
> in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs","\_id":"\_meta","\_version":1}
> 
> in Elasticsearch cluster, it don't index the following path and getting following error:
> 
> Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]" java.lang.NoSuchMethodError: org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;  
> at org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)  
> at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)  
> at java.lang.Thread.run(Unknown Source)
> 
> If elastic cluster is restated, it work fine and index the files, but same error is coming every time on index settings.
> 
> thanks  
> Ajit
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![ajitpals](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ajitpals/32/2105_2.png) [@ajitpals](https://discuss.elastic.co/u/ajitpals)\
**Post date:** [March 27, 2013, 1:49pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/3 "2013-03-27T13:49:35Z")

</div>

Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable release  
with fsriver 0.1.0 plugin only.

Can fsriver plugin index remote directory or any other way around it?

Cheers!

On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:

> Hi,
> 
> FSRiver 0.1.0 is not compatible with older version of ES.  
> See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> 
> Update ES to 0.90.x or downgrade FS River to 0.0.3
> 
> ## HTH
> 
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 27 mars 2013 à 13:04, Ajitpal Singh \<[ajit....@gmail.com](mailto:ajit....@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> Hi,
> 
> I'm using the Elasticsearch cluster .20.6 with following plugin installed  
> [mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy,  
> head]. I'm able to create the index in cluster with following curl command
> 
> curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies
> 
> > with {"ok":true,"acknowledged":true}
> 
> when i try to set the index properties with following command
> 
> curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{ "type": "fs", "fs": { "name": "My tmp dir", "url": "/tmp", "update\_rate": 900000, "includes": "_.doc,_.pdf", "excludes": "resume" }}'
> 
> > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs  
> > ","\_id":"\_meta","\_version":1}
> 
> in Elasticsearch cluster, it don't index the following path and getting  
> following error:
> 
> Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]"
> 
> > > java.lang.NoSuchMethodError:  
> > > org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;
> > 
> > at
> > 
> > > org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)
> > 
> > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)
> > 
> > at java.lang.Thread.run(Unknown Source)
> 
> If elastic cluster is restated, it work fine and index the files, but same  
> error is coming every time on index settings.
> 
> thanks  
> Ajit
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2013, 2:26pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/4 "2013-03-27T14:26:49Z")

</div>

No. You have to mount your remote dir on your machine (NFS…).

What kind of remote dir do you want to index?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 27 mars 2013 à 14:49, Ajitpal Singh [ajit.kamboj@gmail.com](mailto:ajit.kamboj@gmail.com) a écrit :

> Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable release with fsriver 0.1.0 plugin only.
> 
> Can fsriver plugin index remote directory or any other way around it?
> 
> Cheers!
> 
> On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:  
> Hi,
> 
> FSRiver 0.1.0 is not compatible with older version of ES.  
> See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> 
> Update ES to 0.90.x or downgrade FS River to 0.0.3
> 
> ## HTH
> 
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> @dadoonet | @elasticsearchfr | @scrutmydocs
> 
> Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> 
> > Hi,
> > 
> > I'm using the Elasticsearch cluster .20.6 with following plugin installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy, head]. I'm able to create the index in cluster with following curl command
> > 
> > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies with {"ok":true,"acknowledged":true}
> > 
> > when i try to set the index properties with following command
> > 
> > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{  
> > "type": "fs",  
> > "fs": {  
> > "name": "My tmp dir",  
> > "url": "/tmp",  
> > "update\_rate": 900000,  
> > "includes": "_.doc,_.pdf",  
> > "excludes": "resume"  
> > }  
> > }'  
> > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs","\_id":"\_meta","\_version":1}
> > 
> > in Elasticsearch cluster, it don't index the following path and getting following error:
> > 
> > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]" java.lang.NoSuchMethodError: org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;  
> > at org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)  
> > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)  
> > at java.lang.Thread.run(Unknown Source)
> > 
> > If elastic cluster is restated, it work fine and index the files, but same error is coming every time on index settings.
> > 
> > thanks  
> > Ajit
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![ajitpals](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ajitpals/32/2105_2.png) [@ajitpals](https://discuss.elastic.co/u/ajitpals)\
**Post date:** [March 27, 2013, 3:33pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/5 "2013-03-27T15:33:28Z")

</div>

I want to index both windows and ubuntu folders.  
Cheers!

On Wednesday, 27 March 2013 14:26:49 UTC, David Pilato wrote:

> No. You have to mount your remote dir on your machine (NFS…).
> 
> What kind of remote dir do you want to index?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 27 mars 2013 à 14:49, Ajitpal Singh \<[ajit....@gmail.com](mailto:ajit....@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable release  
> with fsriver 0.1.0 plugin only.
> 
> Can fsriver plugin index remote directory or any other way around it?
> 
> Cheers!
> 
> On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:
> 
> > Hi,
> > 
> > FSRiver 0.1.0 is not compatible with older version of ES.  
> > See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > 
> > Update ES to 0.90.x or downgrade FS River to 0.0.3
> > 
> > ## HTH
> > 
> > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > \*  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > 
> > Hi,
> > 
> > I'm using the Elasticsearch cluster .20.6 with following plugin  
> > installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk,  
> > segmentspy, head]. I'm able to create the index in cluster with following  
> > curl command
> > 
> > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies
> > 
> > > with {"ok":true,"acknowledged":true}
> > 
> > when i try to set the index properties with following command
> > 
> > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{ "type": "fs", "fs": { "name": "My tmp dir", "url": "/tmp", "update\_rate": 900000, "includes": "_.doc,_.pdf", "excludes": "resume" }}'
> > 
> > > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs  
> > > ","\_id":"\_meta","\_version":1}
> > 
> > in Elasticsearch cluster, it don't index the following path and getting  
> > following error:
> > 
> > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]"
> > 
> > > > java.lang.NoSuchMethodError:  
> > > > org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;
> > > 
> > > at
> > > 
> > > > org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)
> > > 
> > > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)
> > > 
> > > at java.lang.Thread.run(Unknown Source)
> > 
> > If elastic cluster is restated, it work fine and index the files, but  
> > same error is coming every time on index settings.
> > 
> > thanks  
> > Ajit
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2013, 4:42pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/6 "2013-03-27T16:42:55Z")

</div>

Using?  
FTP, NFS, ... ?

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

Le 27 mars 2013 à 16:33, Ajitpal Singh [ajit.kamboj@gmail.com](mailto:ajit.kamboj@gmail.com) a écrit :

> I want to index both windows and ubuntu folders.  
> Cheers!
> 
> On Wednesday, 27 March 2013 14:26:49 UTC, David Pilato wrote:
> 
> > No. You have to mount your remote dir on your machine (NFS…).
> > 
> > What kind of remote dir do you want to index?
> > 
> > --  
> > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > @dadoonet | @elasticsearchfr | @scrutmydocs
> > 
> > Le 27 mars 2013 à 14:49, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > 
> > > Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable release with fsriver 0.1.0 plugin only.
> > > 
> > > Can fsriver plugin index remote directory or any other way around it?
> > > 
> > > Cheers!
> > > 
> > > On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:
> > > 
> > > > Hi,
> > > > 
> > > > FSRiver 0.1.0 is not compatible with older version of ES.  
> > > > See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > > > 
> > > > Update ES to 0.90.x or downgrade FS River to 0.0.3
> > > > 
> > > > ## HTH
> > > > 
> > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > 
> > > > Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > > 
> > > > > Hi,
> > > > > 
> > > > > I'm using the Elasticsearch cluster .20.6 with following plugin installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy, head]. I'm able to create the index in cluster with following curl command
> > > > > 
> > > > > > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies with {"ok":true,"acknowledged":true}
> > > > > 
> > > > > when i try to set the index properties with following command
> > > > > 
> > > > > > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{  
> > > > > > "type": "fs",  
> > > > > > "fs": {  
> > > > > > "name": "My tmp dir",  
> > > > > > "url": "/tmp",  
> > > > > > "update\_rate": 900000,  
> > > > > > "includes": "_.doc,_.pdf",  
> > > > > > "excludes": "resume"  
> > > > > > }  
> > > > > > }'  
> > > > > > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs","\_id":"\_meta","\_version":1}
> > > > > 
> > > > > in Elasticsearch cluster, it don't index the following path and getting following error:
> > > > > 
> > > > > > > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]" java.lang.NoSuchMethodError: org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;  
> > > > > > > at org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)  
> > > > > > > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)  
> > > > > > > at java.lang.Thread.run(Unknown Source)
> > > > > 
> > > > > If elastic cluster is restated, it work fine and index the files, but same error is coming every time on index settings.
> > > > > 
> > > > > thanks  
> > > > > Ajit
> > > > > 
> > > > > --  
> > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![ajitpals](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ajitpals/32/2105_2.png) [@ajitpals](https://discuss.elastic.co/u/ajitpals)\
**Post date:** [March 27, 2013, 4:51pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/7 "2013-03-27T16:51:16Z")

</div>

oh... My mistake!! ssh for ubuntu and Samba for window if possible.

cheers!! :}

On Wednesday, 27 March 2013 16:42:55 UTC, David Pilato wrote:

> Using?  
> FTP, NFS, ... ?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 mars 2013 à 16:33, Ajitpal Singh \<[ajit....@gmail.com](mailto:ajit....@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> I want to index both windows and ubuntu folders.  
> Cheers!
> 
> On Wednesday, 27 March 2013 14:26:49 UTC, David Pilato wrote:
> 
> > No. You have to mount your remote dir on your machine (NFS…).
> > 
> > What kind of remote dir do you want to index?
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 27 mars 2013 à 14:49, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > 
> > Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable  
> > release with fsriver 0.1.0 plugin only.
> > 
> > Can fsriver plugin index remote directory or any other way around it?
> > 
> > Cheers!
> > 
> > On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:
> > 
> > > Hi,
> > > 
> > > FSRiver 0.1.0 is not compatible with older version of ES.  
> > > See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > > 
> > > Update ES to 0.90.x or downgrade FS River to 0.0.3
> > > 
> > > ## HTH
> > > 
> > > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > > \*  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > 
> > > Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > 
> > > Hi,
> > > 
> > > I'm using the Elasticsearch cluster .20.6 with following plugin  
> > > installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk,  
> > > segmentspy, head]. I'm able to create the index in cluster with following  
> > > curl command
> > > 
> > > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies
> > > 
> > > > with {"ok":true,"acknowledged":true}
> > > 
> > > when i try to set the index properties with following command
> > > 
> > > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{ "type": "fs", "fs": { "name": "My tmp dir", "url": "/tmp", "update\_rate": 900000, "includes": "_.doc,_.pdf", "excludes": "resume" }}'
> > > 
> > > > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs  
> > > > ","\_id":"\_meta","\_version":1}
> > > 
> > > in Elasticsearch cluster, it don't index the following path and getting  
> > > following error:
> > > 
> > > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]"
> > > 
> > > > > java.lang.NoSuchMethodError:  
> > > > > org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;
> > > > 
> > > > at
> > > > 
> > > > > org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)
> > > > 
> > > > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)
> > > > 
> > > > at java.lang.Thread.run(Unknown Source)
> > > 
> > > If elastic cluster is restated, it work fine and index the files, but  
> > > same error is coming every time on index settings.
> > > 
> > > thanks  
> > > Ajit
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2013, 5:09pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/8 "2013-03-27T17:09:16Z")

</div>

I think that you can _mount_ samba, no ?  
Ssh is not supported. Open an issue?

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

Le 27 mars 2013 à 17:51, Ajitpal Singh [ajit.kamboj@gmail.com](mailto:ajit.kamboj@gmail.com) a écrit :

> oh... My mistake!! ssh for ubuntu and Samba for window if possible.
> 
> cheers!! :}
> 
> On Wednesday, 27 March 2013 16:42:55 UTC, David Pilato wrote:
> 
> > Using?  
> > FTP, NFS, ... ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 27 mars 2013 à 16:33, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > 
> > > I want to index both windows and ubuntu folders.  
> > > Cheers!
> > > 
> > > On Wednesday, 27 March 2013 14:26:49 UTC, David Pilato wrote:
> > > 
> > > > No. You have to mount your remote dir on your machine (NFS…).
> > > > 
> > > > What kind of remote dir do you want to index?
> > > > 
> > > > --  
> > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > 
> > > > Le 27 mars 2013 à 14:49, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > > 
> > > > > Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable release with fsriver 0.1.0 plugin only.
> > > > > 
> > > > > Can fsriver plugin index remote directory or any other way around it?
> > > > > 
> > > > > Cheers!
> > > > > 
> > > > > On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > FSRiver 0.1.0 is not compatible with older version of ES.  
> > > > > > See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > > > > > 
> > > > > > Update ES to 0.90.x or downgrade FS River to 0.0.3
> > > > > > 
> > > > > > ## HTH
> > > > > > 
> > > > > > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > > > > > @dadoonet | @elasticsearchfr | @scrutmydocs
> > > > > > 
> > > > > > Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > I'm using the Elasticsearch cluster .20.6 with following plugin installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk, segmentspy, head]. I'm able to create the index in cluster with following curl command
> > > > > > > 
> > > > > > > > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies with {"ok":true,"acknowledged":true}
> > > > > > > 
> > > > > > > when i try to set the index properties with following command
> > > > > > > 
> > > > > > > > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{  
> > > > > > > > "type": "fs",  
> > > > > > > > "fs": {  
> > > > > > > > "name": "My tmp dir",  
> > > > > > > > "url": "/tmp",  
> > > > > > > > "update\_rate": 900000,  
> > > > > > > > "includes": "_.doc,_.pdf",  
> > > > > > > > "excludes": "resume"  
> > > > > > > > }  
> > > > > > > > }'  
> > > > > > > > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs","\_id":"\_meta","\_version":1}
> > > > > > > 
> > > > > > > in Elasticsearch cluster, it don't index the following path and getting following error:
> > > > > > > 
> > > > > > > > > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]" java.lang.NoSuchMethodError: org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;  
> > > > > > > > > at org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)  
> > > > > > > > > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)  
> > > > > > > > > at java.lang.Thread.run(Unknown Source)
> > > > > > > 
> > > > > > > If elastic cluster is restated, it work fine and index the files, but same error is coming every time on index settings.
> > > > > > > 
> > > > > > > thanks  
> > > > > > > Ajit
> > > > > > > 
> > > > > > > --  
> > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![ajitpals](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ajitpals/32/2105_2.png) [@ajitpals](https://discuss.elastic.co/u/ajitpals)\
**Post date:** [March 27, 2013, 5:36pm UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/9 "2013-03-27T17:36:50Z")

</div>

Thanks. I will open an issue for it.

I'm trying to search the file using Elasticsearch, the CURL query is

> [http://localhost:9200/mydocs,myjdbc/\_search?pretty&q=ajitpals](http://localhost:9200/mydocs,myjdbc/_search?pretty&q=ajitpals)[http://192.168.81.128:9200/mydocs,myjdbc/\_search?pretty&q=ajitpals](http://192.168.81.128:9200/mydocs,myjdbc/_search?pretty&q=ajitpals)

How can we limit or remove the content field in json result. Is the above  
way to query is right?

Cheers!

On Wednesday, 27 March 2013 17:09:16 UTC, David Pilato wrote:

> I think that you can _mount_ samba, no ?  
> Ssh is not supported. Open an issue?
> 
> --  
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 27 mars 2013 à 17:51, Ajitpal Singh \<[ajit....@gmail.com](mailto:ajit....@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> oh... My mistake!! ssh for ubuntu and Samba for window if possible.
> 
> cheers!! :}
> 
> On Wednesday, 27 March 2013 16:42:55 UTC, David Pilato wrote:
> 
> > Using?  
> > FTP, NFS, ... ?
> > 
> > --  
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 27 mars 2013 à 16:33, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > 
> > I want to index both windows and ubuntu folders.  
> > Cheers!
> > 
> > On Wednesday, 27 March 2013 14:26:49 UTC, David Pilato wrote:
> > 
> > > No. You have to mount your remote dir on your machine (NFS…).
> > > 
> > > What kind of remote dir do you want to index?
> > > 
> > > --  
> > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > 
> > > Le 27 mars 2013 à 14:49, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > 
> > > Thanks for reply :} . I'm using Elasticsearch 0.20.6 latest sable  
> > > release with fsriver 0.1.0 plugin only.
> > > 
> > > Can fsriver plugin index remote directory or any other way around it?
> > > 
> > > Cheers!
> > > 
> > > On Wednesday, 27 March 2013 13:22:48 UTC, David Pilato wrote:
> > > 
> > > > Hi,
> > > > 
> > > > FSRiver 0.1.0 is not compatible with older version of ES.  
> > > > See: [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver)
> > > > 
> > > > Update ES to 0.90.x or downgrade FS River to 0.0.3
> > > > 
> > > > ## HTH
> > > > 
> > > > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > > > \*  
> > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > > 
> > > > Le 27 mars 2013 à 13:04, Ajitpal Singh [ajit....@gmail.com](mailto:ajit....@gmail.com) a écrit :
> > > > 
> > > > Hi,
> > > > 
> > > > I'm using the Elasticsearch cluster .20.6 with following plugin  
> > > > installed [mapper-attachments, jdbc-river, river-fs], sites [bigdesk,  
> > > > segmentspy, head]. I'm able to create the index in cluster with following  
> > > > curl command
> > > > 
> > > > curl -XPUT '[http://localhost:9200/mydocs/](http://localhost:9200/mydocs/) -d '{}' and replies
> > > > 
> > > > > with {"ok":true,"acknowledged":true}
> > > > 
> > > > when i try to set the index properties with following command
> > > > 
> > > > curl -XPUT 'localhost:9200/\_river/mydocs/\_meta' -d '{ "type": "fs", "fs": { "name": "My tmp dir", "url": "/tmp", "update\_rate": 900000, "includes": "_.doc,_.pdf", "excludes": "resume" }}'
> > > > 
> > > > > in response, it return {"ok":true,"\_index":"\_river","\_type":"mydocs  
> > > > > ","\_id":"\_meta","\_version":1}
> > > > 
> > > > in Elasticsearch cluster, it don't index the following path and  
> > > > getting following error:
> > > > 
> > > > Exception in thread "elasticsearch[searchnode][fs\_slurper][T#1]"
> > > > 
> > > > > > java.lang.NoSuchMethodError:  
> > > > > > org.elasticsearch.action.get.GetResponse.getSourceAsMap()Ljava/util/Map;
> > > > > 
> > > > > at
> > > > > 
> > > > > > org.elasticsearch.river.fs.FsRiver$FSParser.getLastDateFromRiver(FsRiver.java:318)
> > > > > 
> > > > > at org.elasticsearch.river.fs.FsRiver$FSParser.run(FsRiver.java:278)
> > > > > 
> > > > > at java.lang.Thread.run(Unknown Source)
> > > > 
> > > > If elastic cluster is restated, it work fine and index the files, but  
> > > > same error is coming every time on index settings.
> > > > 
> > > > thanks  
> > > > Ajit
> > > > 
> > > > --  
> > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:44am UTC](https://discuss.elastic.co/t/error-in-elastic-search-cluster/11333/10 "2017-07-06T02:44:07Z")

</div>


