Apache Lucene open-source search software
Register BinarySortField provider and move CHANGES entry to 10.5.0
Jim Ferenczidbc915f49b87
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 68c375735d0..4912aa5e01f 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -103,11 +103,6 @@ New Features* GITHUB#15505: Upgrade snowball to 2d2e312df56f2ede014a4ffb3e91e6dea43c24be. New stemmer: PolishStemmer (andPolishSnowballAnalyzer in the stempel package) (Justas Sakalauskas, Dawid Weiss)-* GITHUB#16202: Add BinarySortField, allowing BinaryDocValues fields to be used as an index sort. Unlike- sorting on SortedDocValues (best for low-cardinality fields), it compares the raw bytes directly and is- a good fit for high-cardinality fields. The default ordering is unsigned byte order; a custom comparator- can be supplied by subclassing. (Jim Ferenczi)-* GITHUB#14097: Binary partitioning merge policy over float-valued vector field. (Mike Sokolov)* GITHUB#14178: Add a Faiss-based vector format in the sandbox module. (Kaival Parikh)@@ -315,6 +310,11 @@ API ChangesNew Features---------------------+* GITHUB#16202: Add BinarySortField, allowing BinaryDocValues fields to be used as an index sort. It+ compares the raw bytes directly in unsigned byte order, a good fit for high-cardinality fields where a+ SortedDocValues dictionary is pure overhead. A subclass may override getSortKeyDocValues to supply a+ custom order-preserving sort key. (Jim Ferenczi)+* GITHUB#15740, GITHUB#15817: Add NumericFieldStats utility for retrieving global numeric fieldstatistics (min, max, doc count) from index metadata structures. MigrateSortedNumericDocValuesRangeQuery to use this API, fixing the rewrite optimization for fieldsdiff --git a/lucene/core/src/java/module-info.java b/lucene/core/src/java/module-info.javaindex f18411facd9..94ebfafa336 100644--- a/lucene/core/src/java/module-info.java+++ b/lucene/core/src/java/module-info.java@@ -91,6 +91,7 @@ module org.apache.lucene.core {provides org.apache.lucene.codecs.PostingsFormat withorg.apache.lucene.codecs.lucene104.Lucene104PostingsFormat;provides org.apache.lucene.index.SortFieldProvider with+ org.apache.lucene.search.BinarySortField.Provider,org.apache.lucene.search.SortField.Provider,org.apache.lucene.search.SortedNumericSortField.Provider,org.apache.lucene.search.SortedSetSortField.Provider;