elasticsearch-river-mongodb
elasticsearch-river-mongodb copied to clipboard
How to specify mapping file while creating an index using river plugin
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
I believe your question is answered here: https://github.com/richardwilly98/elasticsearch-river-mongodb/issues/75
please close issues if you are done. @cgurjar