richardwilly98 / elasticsearch-river-mongodb

MongoDB River Plugin for ElasticSearch
1.12k stars 215 forks source link

how can I remove the _id property in _source #557

Closed tuser4198 closed 9 years ago

tuser4198 commented 9 years ago

I deal with _id by default ,and config river according to basic configuration. Then two _id properties show and one is in _source. The hits like below. How can I synchronization data without the _id in _source? { _index: index1 _type: type1 _id: 554e577d84aed8d654828a44 _score: 1 _source: { _id: 554e577d84aed8d654828a44 } }