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/ -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.
For more options, visit https://groups.google.com/groups/opt_out.