Increase visibility of doExecute so it can be used directly (#22614)

This commit is contained in:
Zachary Tong 2017-01-13 09:42:02 -05:00 committed by GitHub
parent beceb4bf8a
commit 18fdc39b8c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class TransportDeleteByQueryAction extends HandledTransportAction<DeleteB
} }
@Override @Override
protected void doExecute(Task task, DeleteByQueryRequest request, ActionListener<BulkIndexByScrollResponse> listener) { public void doExecute(Task task, DeleteByQueryRequest request, ActionListener<BulkIndexByScrollResponse> listener) {
if (request.getSlices() > 1) { if (request.getSlices() > 1) {
ReindexParallelizationHelper.startSlices(client, taskManager, DeleteByQueryAction.INSTANCE, clusterService.localNode().getId(), ReindexParallelizationHelper.startSlices(client, taskManager, DeleteByQueryAction.INSTANCE, clusterService.localNode().getId(),
(ParentBulkByScrollTask) task, request, listener); (ParentBulkByScrollTask) task, request, listener);