Skip to content

Commit 455763d

Browse files
committed
removed unnecesary code from test file
1 parent 4d2af86 commit 455763d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

x-pack/plugin/rank-rrf/src/internalClusterTest/java/org/elasticsearch/xpack/rank/linear/LinearRetrieverIT.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -986,13 +986,6 @@ public void testLinearWithMinScoreAndNormalization() {
986986
assertThat(resp.getHits().getTotalHits().value(), equalTo(6L));
987987
assertThat(resp.getHits().getTotalHits().relation(), equalTo(TotalHits.Relation.EQUAL_TO));
988988

989-
// Debugging: Print the actual hits and scores
990-
System.out.println("--- DEBUG HITS ---");
991-
for (org.elasticsearch.search.SearchHit hit : resp.getHits().getHits()) {
992-
System.out.println("Hit: " + hit.getId() + ", Score: " + hit.getScore());
993-
}
994-
System.out.println("------------------");
995-
996989
// Calculated scores >= 1.5f should only be doc_2(2.0)
997990
assertThat(resp.getHits().getHits().length, equalTo(1));
998991
assertThat(resp.getHits().getAt(0).getId(), equalTo("doc_2"));

0 commit comments

Comments
 (0)