Search returning deleted documents


After a bulk operation to delete some documents of my index an search operation returns the removed documents. And for some reason few seconds later the same search is executed and they don't came up.

Im currently using the RestClient api in java who should be syncronous operations.

Why this happens and how can I overwelm that?

best regards

Probably a “refresh” problem. You have some options that you can add to tell elasticsearch to wait for the next refresh before sending the bulk response to the user.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.