We are now using DeleteByQueryRequestBuilder to do the batch deletion of data. But in the process I see the VersionConflictEngineException [type][id]: version conflict, current version [-1] is different than the one provided . When I query that id I can see it is existing in the index.
The version we are using is 5.1.1. Could it be a bug? Version -1 means the doc does not exist, right?