Increase visibility of doExecute so it can be used directly (#22614)
This commit is contained in:
parent
beceb4bf8a
commit
18fdc39b8c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue