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

Redundant re-indexing after updating ignored fields

Open clslrns opened this issue 10 years ago • 0 comments

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.

clslrns avatar Mar 11 '15 08:03 clslrns