You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by be...@apache.org on 2025/07/16 14:13:04 UTC

(lucene) branch main updated: Address test failure #14948 TestLateInteractionRescorer.testBasic (#14954)

This is an automated email from the ASF dual-hosted git repository.

benwtrent pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new c4a24deb9ba Address test failure #14948 TestLateInteractionRescorer.testBasic (#14954)
c4a24deb9ba is described below

commit c4a24deb9ba92d62974d60cfba88df5e3f852c7d
Author: Benjamin Trent <be...@gmail.com>
AuthorDate: Wed Jul 16 10:12:59 2025 -0400

    Address test failure #14948 TestLateInteractionRescorer.testBasic (#14954)
---
 .../src/test/org/apache/lucene/search/TestLateInteractionRescorer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/search/TestLateInteractionRescorer.java b/lucene/core/src/test/org/apache/lucene/search/TestLateInteractionRescorer.java
index c3685434591..edb062720cc 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestLateInteractionRescorer.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestLateInteractionRescorer.java
@@ -77,7 +77,7 @@ public class TestLateInteractionRescorer extends LuceneTestCase {
           float[][] docVector = corpus.get(idValue);
           float expected =
               scoreFunction.compare(lateIQueryVector, docVector, vectorSimilarityFunction);
-          assertEquals(expected, rerankedHits.scoreDocs[i].score, 1e-5);
+          assertEquals(expected, rerankedHits.scoreDocs[i].score, 1e-4f);
           if (i > 0) {
             assertTrue(rerankedHits.scoreDocs[i].score <= rerankedHits.scoreDocs[i - 1].score);
           }