elasticsearch-river-mongodb
elasticsearch-river-mongodb copied to clipboard
Redundant re-indexing after updating ignored fields
I found that the document is being re-indexed after updating the field which is not specified in include_fields. Maybe it's a premature optimization, but I'm still worried since we have some counters, which are updated often and useless for the search.
Does it make sense to work on the PR for this?
Upd: for example, my document is:
{_id: 1, likes: 123245645, text: "Hello world"}
The only included field is text. After executing some update({_id: 1}, {$inc: {likes: 1}}) I'd like not to reindex it.