Skip to content

Commit

Permalink
Fix test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz committed Dec 6, 2024
1 parent f42f03a commit deae39b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public Scorer get(long leadCost) throws IOException {

@Override
public BulkScorer bulkScorer() throws IOException {
if (tieBreakerMultiplier == 0f) {
if (tieBreakerMultiplier == 0f && scoreMode == ScoreMode.TOP_SCORES) {
List<BulkScorer> scorers = new ArrayList<>();
for (ScorerSupplier ss : scorerSuppliers) {
scorers.add(ss.bulkScorer());
Expand Down

0 comments on commit deae39b

Please sign in to comment.