Skip to content

Commit 2ee7640

Browse files
cleanup
1 parent 79e495a commit 2ee7640

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

server/src/main/java/org/elasticsearch/action/search/CountOnlyQueryPhaseResultConsumer.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ public void consumeResult(SearchPhaseResult result, Runnable next) {
6464
next.run();
6565
}
6666

67-
public void reduce(boolean terminatedEarly, boolean timedOut, long totalHits, TotalHits.Relation totalHitsRelation) {
68-
relationAtomicReference.compareAndSet(TotalHits.Relation.EQUAL_TO, totalHitsRelation);
69-
this.totalHits.add(totalHits);
70-
this.terminatedEarly.set(terminatedEarly);
71-
this.timedOut.set(timedOut);
72-
}
73-
7467
@Override
7568
boolean hasResult(int shardIndex) {
7669
return results.contains(shardIndex);

0 commit comments

Comments
 (0)