diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java index 65b706da1be..e461b4d7d79 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java @@ -145,7 +145,7 @@ public class BulkRequest implements ActionRequest { } 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) {