Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bulk API: _version on delete actions is not honored, closes #1156.

  • Loading branch information...
commit bf3ebc715e9a4ff590b315f20b64c44ee33536cf 1 parent 9aa11f9
Shay Banon kimchy authored
2  modules/elasticsearch/src/main/java/org/elasticsearch/action/bulk/
@@ -145,7 +145,7 @@ public BulkRequest add(byte[] data, int from, int length, boolean contentUnsafe)
if ("delete".equals(action)) {
- add(new DeleteRequest(index, type, id).parent(parent).versionType(versionType).routing(routing));
+ add(new DeleteRequest(index, type, id).parent(parent).version(version).versionType(versionType).routing(routing));
} else {
nextMarker = findNextMarker(marker, from, data, length);
if (nextMarker == -1) {
Please sign in to comment.
Something went wrong with that request. Please try again.