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

This commit is contained in:
Shay Banon 2011-07-26 07:35:26 +03:00
parent 9aa11f967a
commit bf3ebc715e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {