You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2024/09/15 20:12:37 UTC
(lucene) branch main updated: #13767: fix test failure: compress can only be true when quantized bits=4
This is an automated email from the ASF dual-hosted git repository.
mikemccand 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 3801d859783 #13767: fix test failure: compress can only be true when quantized bits=4
3801d859783 is described below
commit 3801d859783c2242b1423415adb664981eaaa4c9
Author: Mike McCandless <mi...@apache.org>
AuthorDate: Sun Sep 15 16:10:32 2024 -0400
#13767: fix test failure: compress can only be true when quantized bits=4
---
.../lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
index 58e6c27e326..a0f640fa650 100644
--- a/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
+++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene99/TestLucene99ScalarQuantizedVectorScorer.java
@@ -165,7 +165,7 @@ public class TestLucene99ScalarQuantizedVectorScorer extends LuceneTestCase {
}
public void testScoringInt7() throws Exception {
- vectorScoringTest(7, random().nextBoolean());
+ vectorScoringTest(7, false);
}
private void vectorScoringTest(int bits, boolean compress) throws IOException {