I try to use the versioning but I face a strange behaviour (strange to me).
I index one document id version.
If I try to delete this document by giving the same Id and version I get a
If I increase the version number the delete is executed.
The exception is thrown by RobinEnging.class line 650 "if (currentVersion
Why is it a problem to have the same version number ?
As described in
Elasticsearch Platform — Find real-time answers at scale | Elastic
Optionally, the version number can be supplemented with an external value
(for example, if maintained in a database)
It's my case. But this test implies to perform a save in my DB to increase
the version number.
If no version is provided, then the operation is executed without any
It might be a solution but the versioning test could be interesting in
order to ensure that the user performing the delete use at least the last