Skip to content

Commit

Permalink
fix compil
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 18, 2024
1 parent 7e90fcc commit b3ff075
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ public void testRescorePhaseWithInvalidSort() throws Exception {
.setTrackScores(true)
.addRescorer(new QueryRescorerBuilder(matchAllQuery()).setRescoreQueryWeight(100.0f), 50),
response -> {
assertThat(response.getHits().getTotalHits().value(), equalTo(5L));
assertThat(response.getHits().getTotalHits().value, equalTo(5L));
assertThat(response.getHits().getHits().length, equalTo(5));
for (SearchHit hit : response.getHits().getHits()) {
assertThat(hit.getScore(), equalTo(101f));
Expand Down

0 comments on commit b3ff075

Please sign in to comment.