Search returning deleted documents


(Daniel Drews) #1

Hi,

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


(David Pilato) #2

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.


(system) #3

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