File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,11 @@ Optimizations
270270
271271* GITHUB#15045: Use FixedBitSet#cardinality for counting liveDocs in CheckIndex (Zhang Chao)
272272
273+ * GITHUB#15116, GITHUB#15138: Rewrite of the GroupVInt optimization without lambdas, varhandles
274+ and no code in subclasses. The optimization now auto-detects if an IndexInput supports random access
275+ and uses an optimized branchless approach. Any subclasses that have implemented the optimized method
276+ need to remove it as it will disappear in Lucene 11. (Uwe Schindler)
277+
273278Changes in Runtime Behavior
274279---------------------
275280* GITHUB#14823: Decrease TieredMergePolicy's default number of segments per
Original file line number Diff line number Diff line change @@ -35,6 +35,13 @@ long maxRamBytesUsed = 50 * 1024 * 1024; // 50MB
3535IndexSearcher.setDefaultQueryCache(new LRUQueryCache(maxCachedQueries, maxRamBytesUsed));
3636```
3737
38+ ### Possibility to optimize ` readGroupVInt() ` in ` DataInput ` subclasses removed (GITHUB #15116 )
39+
40+ Any subclass of ` DataInput ` that have implemented ` readGroupVInt() ` need to remove that implementation.
41+
42+ Instead make sure that subclasses of ` IndexInput ` implement ` RandomAccessInput ` .
43+ Pure ` DataInput ` subclasses cannot be optimized anymore as they cannot offer random access and seeking.`
44+
3845## Migration from Lucene 9.x to Lucene 10.0
3946
4047### DataInput#readVLong() may now read negative vlongs
You can’t perform that action at this time.
0 commit comments