mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 19:15:06 +00:00
* 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 eeb3f8a6685927791427e0e5084ecaf4ed873816. * Reapply "rename int8 -> int7 bwc tests since we are actually testing 7 bit quantization" This reverts commit 3487c4210bd83b6457dd3b639faf2d26db926ed4. * #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 * int7 9.x goes unsupported --------- Co-authored-by: Michael McCandless <mikemccand@apache.org>
Apache Lucene
Apache Lucene is a high-performance, full-featured text search engine library written in Java.
Online Documentation
This README file only contains basic setup instructions. For more comprehensive documentation, visit:
- Latest Releases: https://lucene.apache.org/core/documentation.html
- Nightly: https://ci-builds.apache.org/job/Lucene/job/Lucene-Artifacts-main/javadoc/
- New contributors should start by reading Contributing Guide
- Build System Documentation: help/
- Migration Guide: lucene/MIGRATE.md
Building
Basic steps:
- Install OpenJDK 21.
- Clone Lucene's git repository (or download the source distribution).
- Run gradle launcher script (
gradlew
).
We'll assume that you know how to get and set up the JDK - if you don't, then we suggest starting at https://jdk.java.net/ and learning more about Java, before returning to this README.
Contributing
Bug fixes, improvements and new features are always welcome! Please review the Contributing to Lucene Guide for information on contributing.
- Additional Developer Documentation: dev-docs/
Discussion and Support
- Users Mailing List
- Developers Mailing List
- IRC:
#lucene
and#lucene-dev
on freenode.net
Description
Languages
Java
97.7%
HTML
1%
Python
0.9%
Lex
0.3%