Skip to content

Apache Lucene open-source search software

Ensure 10.6.0 changelog in main is consistent with branch_10_6

Houston Putman7cecf795236c
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 14c6f2387aa..399d3b3aa2a 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -210,11 +210,6 @@ Improvements
* GITHUB#16499: Clean up BytesRefHash. Remove dead lastCount and unused close(), fix stale comments (neoremind)
-* GITHUB#7820: CheckIndex now reports which segment's .si file could not be read, rather than only that
- a commit point was unreadable. SegmentInfos throws CorruptSegmentInfoException, carrying the segment
- name and the underlying failure, when a .si file is missing or corrupt; other I/O failures, such as
- transient ones, propagate unchanged. (Gokul Manoj, Serhiy Bzhezytskyy, Alex Reelsen)
-
Optimizations
---------------------
@@ -459,6 +454,8 @@ API Changes
* GITHUB#16647: Add KnnVectorsReader.getVectorCount to read vector counts from metadata (Chris Hegarty)
+* GITHUB#16813: Deprecate unused VectorValueSource and MultiValueSource. (Luca Cavanna)
+
New Features
---------------------
* GITHUB#16722: Support user dictionary in ThaiTokenizer and ThaiTokenizerFactory.
@@ -477,8 +474,8 @@ New Features
* GITHUB#16418: Incremental doc-values updates. A set-only doc-values update (NUMERIC or BINARY) is written as a sparse
"delta" overlay holding just the updated documents and layered over the base column at read time, instead of
- rewriting the whole column, turning per-update write amplification from O(column) into O(updated docs). Enabled by
- default; disable with IndexWriterConfig#setMaxDocValuesOverlays(0). (Jim Ferenczi)
+ rewriting the whole column, turning per-update write amplification from O(column) into O(updated docs). Opt-in;
+ enable with IndexWriterConfig#setMaxDocValuesOverlays(n). (Jim Ferenczi)
* GITHUB#16243: Add StableTflSimilarity, a similarity that estimates term rarity from term length
and document length instead of corpus statistics such as document frequency. It also supports k3
@@ -536,6 +533,10 @@ Improvements
* GITHUB#16091: Replace deprecated IndexSearcher#search(Query, Collector) usage with CollectorManager
in JoinUtil#createJoinQuery for the GlobalOrdinalsCollector case. (Luca Cavanna)
+* GITHUB#7820: CheckIndex now reports which segment's .si file could not be read, rather than only that
+ a commit point was unreadable. SegmentInfos throws CorruptSegmentInfoException, carrying the segment
+ name and the underlying failure. (Gokul Manoj, Serhiy Bzhezytskyy)
+
* GITHUB#16292: Introduce TermGroupFacetCollectorManager to enable concurrent search with grouped
faceting, removing usages of the deprecated IndexSearcher#search(Query, Collector).
(Luca Cavanna)
@@ -653,20 +654,19 @@ Optimizations
* GITHUB#16520: Support two-phase filters in MaxScoreBulkScorer bitset path. (Ke Wei)
-* GITHUB#16696: Merging an HNSW graph over Lucene104HnswScalarQuantizedVectorsFormat in its default
- CENTERED mode, with an asymmetric encoding of a float32 field, no longer reads the merged float
- vectors back to build the merge scorer. (John Maurice)
+* GITHUB#16696: Merging an HNSW graph over Lucene104HnswScalarQuantizedVectorsFormat, with an
+ asymmetric encoding of a float32 field, no longer reads the merged float vectors back to build
+ the merge scorer. (John Maurice)
* GITHUB#16669: Use intoBitSet to speed up ReqExclBulkScorer with dense exclusions. (Ke Wei)
* GITHUB#16667: Rewrite BooleanQuery to MatchNoDocsQuery when it has MUST_NOT clause matching one of
its MUST boost or constant score query clauses. (Egor Potemkin)
-* GITHUB#16715: Optimize MUST_NOT scoring based on required-clause selectivity. (Ke Wei)
+* GITHUB#16769: The merge mapping of the raw vectors keeps the hints the file was opened with,
+ changing only how it is read. (Jim Ferenczi)
-* GITHUB#16769: Merges now also open their own mapping of the raw vectors behind the Faiss format,
- and the merge mapping keeps the hints the file was opened with, changing only how it is read.
- (Jim Ferenczi)
+* GITHUB#16715: Optimize MUST_NOT scoring based on required-clause selectivity. (Ke Wei)
* GITHUB#16797: Stored fields data is written with DataAccessHint.SEQUENTIAL and NoReuseHint,
matching how it is read. (Jim Ferenczi)
@@ -683,6 +683,8 @@ Optimizations
* GITHUB#16089: Upgrade DocIdSetBuilder to use FixedBitSet eagerly once exceeding the threshold (Ke Wei)
+* GITHUB#16119: Optimize byte array writes in OutputStreamIndexOutput to remove unnecessary overhead. (neoremind)
+
Bug Fixes
---------------------
@@ -690,6 +692,8 @@ Bug Fixes
merge centroid and correct the vector count so that it reflects the live docs after deletions, preventing
query-side data from being prepared for merged fields that are too small to build a graph. (Pranshu Shukla)
+* GITHUB#16546: Prevent RangeBulkScorer from passing empty ranges to LeafCollector. (jxy)
+
* GITHUB#10153: Allow configurable buffer size in SegmentingTokenizerBase and recognize whitespace as safe boundary in ThaiTokenizer to avoid splitting words across buffer boundaries. (Kamthorn Krairaksa)
* GITHUB#16620: Make HNSW merges abortable during graph initialization and repair, so that the
@@ -699,12 +703,6 @@ Bug Fixes
* GITHUB#16565: IndexWriter#updateBinaryDocValue now rejects updating a field that is part of the
index sort, matching IndexWriter#updateNumericDocValue. (Jim Ferenczi)
-* GITHUB#16546: Prevent RangeBulkScorer from passing empty ranges to LeafCollector. (jxy)
-
-* GITHUB#16450: Fix DocValuesRangeIterator.docIDRunEnd() returning incorrect run boundaries,
- causing bulk-scoring to skip or mis-score documents in range and ordinal set queries.
- (Parker Timmins)
-
* GITHUB#14399: TopFieldCollector now decides per segment whether the search sort is a prefix of the
index sort, instead of caching the decision from the first segment. This fixes incorrect results
when searching a MultiReader that combines indexes with different index sorts. (Serhiy Bzhezytskyy)
@@ -737,36 +735,28 @@ Bug Fixes
* GITHUB#16405: PointInSetQuery#ramBytesUsed now accounts for the retained
lowerPoint and upperPoint bounds arrays. (Sasilekha R)
-* GITHUB#16367: HNSW graph construction now periodically checks whether the surrounding merge has
- been aborted, so IndexWriter#rollback and abortMerges no longer block until the entire graph is
- built. (Jeho Jeong)
-
* GITHUB#16428: Accumulate join Total/Avg scores in double precision in
GlobalOrdinalsWithScoreCollector, fixing an intermittent failure caused by
non-associative float addition that #16378 missed. (Luca Cavanna)
-* GITHUB#16173: FilterDirectory now delegates copyFrom() to the wrapped directory. (Prithvi S)
+* GITHUB#14930: Restore KnnVectorsReader#finishMerge() calls after merges, including
+ exceptional exits, so vector inputs switch back from sequential read advice.
+ (Simon Cooper, John Maurice)
+
+* GITHUB#16530: FilterDirectory#copyFrom routes through createOutput so that per-file bookkeeping
+ in subclasses applies to copied files, reverting the delegation from GITHUB#16173. Also fixes
+ temp file cleanup when TrackingTmpOutputDirectoryWrapper#copyFrom fails. (Tim Allison, Prithvi S)
* GITHUB#16452: Fix over-allocation in MemoryAccountingBitsetCollectorManager.Result#bitSet, which
is now sized to highestMatchedDoc + 1 instead of the full searched range. (Sasilekha R)
-* GITHUB#16577: Fix incorrect position increment generated by FixedShingleFilter. (Kishor Kharbas)
-
* GITHUB#16728: Handle edge cases with inaccurate scorers that can cause duplicate neighbor links
in the HNSW graph. (Simon Cooper)
-* GITHUB#16139: Fix IBSimilarity with DistributionSPL producing negative scores due to
- floating-point rounding errors. (Prithvi S)
-
* GITHUB#16755: UkrainianMorfologikAnalyzer no longer reloads the Ukrainian dictionary when
threads race to initialize it, which could leave each analyzer holding its own ~7 MB copy.
(Eugene Rizhkov)
-* GITHUB#16807: Fix byte vector dot products and square distances staying several times slower
- for the life of the JVM once both their signed and unsigned (uint8) variants have been used,
- e.g. when searching UNSIGNED_BYTE and SEVEN_BIT scalar-quantized fields in one JVM.
- (Lantao Jin)
-
* GITHUB#16849: Fix quadratic cost of BitSetIterator#docIDRunEnd() over long runs of set bits,
e.g. a dense cached filter on a segment with deletions, which made DenseConjunctionBulkScorer
rescan the run for every 4096-doc window since 10.5.0 (Costin Leau)
@@ -776,6 +766,9 @@ Bug Fixes
node count, so a graph with deletions could be kept as the base over a larger deletion-free graph,
depending on the order in which readers were added. (Lantao Jin)
+* GITHUB#16139: Fix IBSimilarity with DistributionSPL producing negative scores due to
+ floating-point rounding errors. (Prithvi S)
+
Build
---------------------
@@ -1123,8 +1116,6 @@ Optimizations
* GITHUB#16142: Optimize disjunction #docIDRunEnd to skip runs of excluded documents. (Costin Leau)
-* GITHUB#16119: Optimize byte array writes in OutputStreamIndexOutput to remove unnecessary overhead. (neoremind)
-
* GITHUB#16155: Use BitSet#nextClearBit to iterate uninitialized nodes in MergingHnswGraphBuilder. (Sasilekha R)
* GITHUB#16174: Convert contiguous ordinal sets to ranges in DocValuesRangeIterator#forOrdinalSet. (Sasilekha R)