We are now using _delete_by_query to do the batch deletion of data. But in the process I see the VersionConflictEngineException [type][id]: version conflict, current version  is different than the one provided  .The version we are using is 5.5.3.Could it be a bug?How can I force deletion of version-conflicting data.
Per the docs;
_delete_by_querygets a snapshot of the index when it starts and deletes what it finds using
internalversioning. That means that you’ll get a version conflict if the document changes between the time when the snapshot was taken and when the delete request is processed. When the versions match the document is deleted.
So you will likely need to run the query again.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.