...
- The new IndexWriter#updateDocuments(Query, Iterable) allows updating multiple documents that match a query at the same time.
- Function queries can now compute similarity scores between kNN vectors.
Optimizations
- KNN indexing and querying can now take advantage of vectorization for distance computation between vectors. To enable this, use exactly Java 20 or 21, and pass
--add-modules jdk.incubator.vector
as a command-line parameter to the Java program. KNN queries now run concurrently if the IndexSearcher has been created with an executor.
- Queries sorted by field are now able to dynamically prune hits only using the
after
value. This yields major speedups when paginating deeply. - Reduced merge-time overhead of computing the number of soft deletes.
...