Hi, We are using ES 2.0, on a 3 node cluster, with deleteByQuery plugin. The query sometimes fails to delete some or all of the documents. This behavior is not consistent. Sometimes, all docs are deleted, sometimes few and sometimes none. We also retry 3 times, if expected number of docs are not deleted. Below is the response of deleteByQuery API, but it does not have much information. There is no information related to this in ES logs. Please let us know what more things can we try.
We are doing insertion (not update) and deletion in a very short interval, like 5-10 secs, but we are not doing both at the same time. Can that result in partial deletion of documents. If yes, what is the correct way to delete all the desired records?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.