richardwilly98 / elasticsearch-river-mongodb

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

How to create custom index policy? #496

Closed droganov closed 9 years ago

droganov commented 9 years ago

Hello, We'de to stream documents collection to elasticsearch, but each document has a counter and counters update frequently. I'd like river to accept any change in document except a counter change, because this creates void server load.

Is there a way/example how to manage this?

ewgRa commented 9 years ago

You can use "exclude_fields". Also there is pull request #484 that seems implement your wishes. You can try to test it yourself and support this PR.

droganov commented 9 years ago

Thank you!

ewgRa commented 9 years ago

@droganov please close issue if problem solved