No documents indexed using MongoDB's ElasticSearch river -



No documents indexed using MongoDB's ElasticSearch river -

i'm trying utilize mongodb's(2.6.4) river elasticsearch(1.3.4). versions of each ok.

creating (put : http://localhost:9200/_river/mongoindex/_meta) :

{ "type": "mongodb", "mongodb": { "servers": [ { "host": "127.0.0.1", "port": 27017 } ], "db": "fabrice", "collection": "personnes", "gridfs": true }, "index": { "name": "mongoindex", "type": "personnes" } } }

so :

{ _index: "_river" _type: "mongoindex" _id: "_meta" _version: 1 created: true }

my bdd "fabrice", collection "personnes". so, ok now.

i add together record in mongo's console:

db.personnes.save({nom:'chief',pays:'uk'})

and, @ end, search query :

http://127.0.0.1:9200/mongoindex/_search?q=pays:uk

but no reply :(... :

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

any thought help me ?

thanks. fabrice

having same issue.

i have feeling looking @ es logs it's because es 1.3.4 instead of 1.3.1 (as per user guide):

https://github.com/richardwilly98/elasticsearch-river-mongodb

i don't think supports 1.3.4 :(

mongodb elasticsearch

Comments

Popular posts from this blog

javascript - I need to update the text of a paragraph by inline edit -

javascript - THREE.js reposition vertices for RingGeometry -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -