Skip to content

Commit ce42d82

Browse files
authored
Add comment on BooleanScorerSupplier#excl. (#15130)
1 parent 2dcfd89 commit ce42d82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lucene/core/src/java/org/apache/lucene/search/BooleanScorerSupplier.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ public float getMaxScore(int upTo) throws IOException {
511511
}
512512
}
513513

514+
/** Create a new scorer for the must match scorer and exclude clauses. */
514515
private Scorer excl(Scorer main, Collection<ScorerSupplier> prohibited, long leadCost)
515516
throws IOException {
516517
if (prohibited.isEmpty()) {

0 commit comments

Comments
 (0)