-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 9.12.0 backcompat break (Lucene 9.12.0 cannot read 9.11.x indices…
… written with quantized HNSW, `Lucene99HnswScalarQuantizedVectorsFormat`) (#13874) * carefully regenerate the int8_hnsw bwc indices so that they do in fact use Lucene99ScalarQuantizedVectorsFormat ... when running TestInt8HnswBackwardsCompatibility it now fails (as expected) on 9.11.0 and 9.11.1 bwc indices, but not on 9.10.0 * rename int8 -> int7 bwc tests since we are actually testing 7 bit quantization * actually fix the bwc bug: only allow compress=true when bits is 7 or 8 in HNSW scalar quantization * tidy * Revert "rename int8 -> int7 bwc tests since we are actually testing 7 bit quantization" This reverts commit eeb3f8a. * Reapply "rename int8 -> int7 bwc tests since we are actually testing 7 bit quantization" This reverts commit 3487c42. * #13880: add test to verify the int7 quantized indices are in fact using quantized vectors not float32 * bump 9.12.x version to 9.12.1 and add bwc indices for 9.12.0 * remove duplicate 9.12.0 Version constant * revert changes to index.9.12.0-cfs.zip, index.9.12.0-nocfs.zip, sorted.9.12.0.zip * remove unused bwc index Closes #13867 Closes #13880
- Loading branch information
1 parent
e6bb5e2
commit eadc07c
Showing
12 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5.72 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int7_hnsw.9.10.0.zip
Binary file not shown.
Binary file added
BIN
+5.17 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int7_hnsw.9.11.0.zip
Binary file not shown.
Binary file added
BIN
+5.17 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int7_hnsw.9.11.1.zip
Binary file not shown.
Binary file added
BIN
+5.28 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int7_hnsw.9.12.0.zip
Binary file not shown.
Binary file removed
BIN
-4.7 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int8_hnsw.9.10.0.zip
Binary file not shown.
Binary file removed
BIN
-4.67 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int8_hnsw.9.11.0.zip
Binary file not shown.
Binary file removed
BIN
-4.68 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int8_hnsw.9.11.1.zip
Binary file not shown.
Binary file removed
BIN
-4.82 KB
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/int8_hnsw.9.12.0.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters