【发布时间】:2012-05-22 01:03:06
【问题描述】:
当我跑步时
curl -XPUT 'http://localhost:9200/_river/test/_meta' -d '{
"type": "mongodb",
"mongodb": {
"db": "test",
"collection": "es_test"
},
"index": {
"name": "mongoindex",
"type": "es_test"
}
}'
我收到以下异常:
{"error":"MapperParsingException[Failed to parse]; nested:JsonParseException[Unexpected 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}
我自己进行了研究,发现elasticsearch users 和MongoDB River Plugin for ElasticSearch...试图按所示实施,但有相同的错误.... 如果有人有在 Windows7 环境中使用 ES 的经验, 你能指出我做错了什么吗?我完全陌生 ElasticSearch 并感谢您的帮助。
【问题讨论】:
标签: mongodb elasticsearch