diff --git a/server/src/main/java/org/elasticsearch/action/search/QueryPhaseResultConsumer.java b/server/src/main/java/org/elasticsearch/action/search/QueryPhaseResultConsumer.java index 33f814fc920..8debfb856b6 100644 --- a/server/src/main/java/org/elasticsearch/action/search/QueryPhaseResultConsumer.java +++ b/server/src/main/java/org/elasticsearch/action/search/QueryPhaseResultConsumer.java @@ -278,6 +278,7 @@ class QueryPhaseResultConsumer extends ArraySearchPhaseResults toCancel = new ArrayList<>(); if (task != null) { toCancel.add(task); @@ -287,7 +288,6 @@ class QueryPhaseResultConsumer extends ArraySearchPhaseResults