Elasticsearch integration with mongoDB on windows7


(Serikozz) #1

Hi everyone,

Whem I am running
curl -XPUT 'http://localhost:9200/_river/test/_meta' -d '{
"type": "mongodb",
"mongodb": {
"db": "test",
"collection": "es_test"
},
"index": {
"name": "mongoindex",
"type": "es_test"
}
}'
I am getting the following exception:

{"error":"MapperParsingException[Failed to parse]; nested:
JsonParseException[Un
expected character ('m' (code 109)): expected a valid value (number,
String, array, object, 'true', 'false' or 'null')\n at [Source: [B@61f133ea; line: 1, column:8]]; ","status":400}

If anyone had experience in working with ES in Windows7 environment,
can you please point out what I am doing wrong? I am completely new to
ElasticSearch and will appreciate your assistance.


(system) #2