Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkm4ntr committed Jan 29, 2024
1 parent 608a334 commit fab1c18
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -533,7 +533,8 @@ public void testMaxScoreNonTopLevelScoringClause() throws Exception {
FakeScorerSupplier clause2 = new FakeScorerSupplier(10, 10);
subs.get(Occur.MUST).add(clause2);

Scorer scorer = new Boolean2ScorerSupplier(new FakeWeight(), subs, ScoreMode.TOP_SCORES, 0).get(10);
Scorer scorer =
new Boolean2ScorerSupplier(new FakeWeight(), subs, ScoreMode.TOP_SCORES, 0).get(10);
assertEquals(2.0, scorer.getMaxScore(DocIdSetIterator.NO_MORE_DOCS), 0.0);
}
}

0 comments on commit fab1c18

Please sign in to comment.