elasticsearch-river-mongodb icon indicating copy to clipboard operation
elasticsearch-river-mongodb copied to clipboard

How to specify mapping file while creating an index using river plugin

Open cgurjar opened this issue 10 years ago • 2 comments

I am trying to synchronize documents from Mongo to ElasticSearch using river plugin. I dont use GridFS in mongo.

I see that to create an index and source it from Mongo I need to use

curl -XPUT 'http://localhost:9200/_river/mongodb/_meta' -d '{ "type": "mongodb", "mongodb": { "db": "DATABASE_NAME", "collection": "COLLECTION", "gridfs": true }, "index": { "name": "ES_INDEX_NAME", "type": "ES_TYPE_NAME" } }'


My question - I have a mapping file i want to specify, where do i specify it. Any help is appreciated

cgurjar avatar Feb 20 '15 07:02 cgurjar

I believe your question is answered here: https://github.com/richardwilly98/elasticsearch-river-mongodb/issues/75

yannchristensen avatar Feb 24 '15 02:02 yannchristensen

please close issues if you are done. @cgurjar

harshjari avatar Feb 25 '15 00:02 harshjari