forked from apache/lucene
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make WANDScorer compute scores on the fly. (apache#14021)
Currently, `WANDSCorer` considers that a hit is a match if the sum of maximum scores across clauses is more than or equal to the minimum competitive score. We can do better by computing scores of leading clauses on the fly. This helps because scores are often lower than the score upper bound, so using actual scores instead of score upper bounds can help skip advancing more clauses. For reference, we are already doing the same trick in our conjunction (bulk) scorers and in `MaxScoreBulkScorer` (bulk scorer for top-level disjunctions).
- Loading branch information
1 parent
57bf762
commit d5ed4ff
Showing
2 changed files
with
59 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters