You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Luca Cavanna <ja...@apache.org> on 2023/01/30 16:08:13 UTC

[ANNOUNCE] Apache Lucene 9.5.0 released

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The Lucene PMC is pleased to announce the release of Apache Lucene 9.5.0.

Apache Lucene is a high-performance, full-featured search engine
library written entirely in Java. It is a technology suitable for
nearly any application that requires structured search, full-text
search, faceting, nearest-neighbor search across high-dimensionality
vectors, spell correction or query suggestions.

This release contains numerous bug fixes, optimizations, and
improvements, some of which are highlighted below. The release is
available for immediate download at:

  <https://lucene.apache.org/core/downloads.html>

### Lucene 9.5.0 Release Highlights:

#### New features

 * Added KnnByteVectorField and ByteVectorQuery that are specialized
for indexing and querying byte-sized vectors. Deprecated
KnnVectorField, KnnVectorQuery and LeafReader#getVectorValues in
favour of the newly introduced KnnFloatVectorField,
KnnFloatVectorQuery and LeafReader#getFloatVectorValues that are
specialized for float vectors.
 * Added IntField, LongField, FloatField and DoubleField: easy to use
numeric fields that perform well both for filtering and sorting.
 * Support for Java 19 foreign memory access ("project Panama") was
enabled by default removing the need to provide the "--enable-preview"
flag.
 * Added ByteWritesTrackingDirectoryWrapper to expose metrics for
bytes merged, flushed, and overall write amplification factor.

#### Optimizations

* Improved storage efficiency of connections in the HNSW graph used
for vector search
* Added  new stored fields and term vectors interfaces:
IndexReader#storedFields and IndexReader#termVectors. These do not
rely upon ThreadLocal storage for each index segment, which can
greatly reduce RAM requirements when there are many threads and/or
segments.
* Several improvements were made to
IndexSortSortedNumericDocValuesRangeQuery including query execution
optimization with points for descending sorts and
BoundedDocIdSetIterator construction sped up using bkd binary search.

#### Other

* Moved DocValuesNumbersQuery from sandbox to
NumericDocValuesField#newSlowSetQuery
* Fix exponential runtime for nested BooleanQuery#rewrite with non
scoring clauses

Please read CHANGES.txt for a full list of new features and changes:

  <https://lucene.apache.org/core/9_5_0/changes/Changes.html>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEZRx8h9Pv9aJSZKAzHCltC5tk0moFAmPX32MACgkQHCltC5tk
0mpdoQ/6AvYO3NSjJuVnvhSc6qJT14nJ0Yn/t7IJy+W1VP+4pdgkMcGge9P1JzyZ
xiIIykQRsj+GniTfi9iZrfGLyU78HNdgO27mLj6NbKohO7KRq3963jqVL40qk+iP
BbDcyQXVNRT8iWCfp/pYqMx97oL1MmsnbMiu5givHXtt2DlYhcX+30QNL/bywyUD
vKjzjCNamv+veswGdkv+gCzR3OqQS+PHCRLnKXVmxkivLBrnHIE/O+MKbHbOFaxZ
aSSJVFtDwNaKQBPvXb7Q7JQ+CZg/htanSrnDna5RdIHsH8hyri9DhRoaLxJmSZ2B
n4QNCm0eneU24h2yJpKV0j2RbTixWNMTvgRCORy7XjAK0MHhDnaYV7JkVoDuV3xT
kv416njw9ejKLYBnxcYUrzPo2bdKyIqg61OPlL+NeO4GKVHXyBP8X2NcEjWHLl7Q
Z7HLXWqm64zsjFdxnTV3ge4ic0PTPL1qt7iAKdCsBstGK8ySM77ie4uYX2bXMOrT
jFPtEWev28FZpQ2vcy5h+vq7kct6ysXzka3knd5M7LUkvlWtHlYFDI3TGdW3J9OD
Ly9kCkfN562LNLvf+ymeAEEU3migI89oVOSUR73zhqtDp9xEK9Sg9rEcE1QcwKc7
gtzsltvgc4bcNkKbJD80BJ63YzaZQSjAmHzZXEbEjbzB/y41d/M=
=zola
-----END PGP SIGNATURE-----