diff --git a/lucene/core/src/java/org/apache/lucene/search/ScoringRewrite.java b/lucene/core/src/java/org/apache/lucene/search/ScoringRewrite.java index e529bc92df8..b0de0cb8486 100644 --- a/lucene/core/src/java/org/apache/lucene/search/ScoringRewrite.java +++ b/lucene/core/src/java/org/apache/lucene/search/ScoringRewrite.java @@ -59,7 +59,8 @@ public abstract class ScoringRewrite extends TermCollectingRewrite { builder.setDisableCoord(true); return builder; } - + + @Override protected Query build(BooleanQuery.Builder builder) { return builder.build(); }