diff --git a/src/java/org/apache/lucene/search/BooleanScorer2.java b/src/java/org/apache/lucene/search/BooleanScorer2.java index 4243bf82633..1ede45c81dc 100644 --- a/src/java/org/apache/lucene/search/BooleanScorer2.java +++ b/src/java/org/apache/lucene/search/BooleanScorer2.java @@ -195,7 +195,6 @@ class BooleanScorer2 extends Scorer { } private Scorer dualConjunctionSumScorer(Scorer req1, Scorer req2) { // non counting. - final int requiredNrMatchers = requiredScorers.size(); ConjunctionScorer cs = new ConjunctionScorer(defaultSimilarity); // All scorers match, so defaultSimilarity super.score() always has 1 as // the coordination factor.