From 7eb8f6ee00f4da234e3c0ce1cfc331683fe4c3de Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Mon, 20 Nov 2023 14:08:31 -0500 Subject: [PATCH] #12542, #12735, #12695, #12709, #12816: move CHANGES.txt entry from 10.0 -> 9.9.0 on bulk backport of recent FST improvements --- lucene/CHANGES.txt | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index 23b84075416..c1980f5611c 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -7,9 +7,6 @@ http://s.apache.org/luceneversions API Changes --------------------- -* GITHUB-12695: Deprecated public constructor of FSTCompiler. Please use FSTCompiler.Builder - instead. (Juan M. Caicedo) - * LUCENE-12092: Remove deprecated UTF8TaxonomyWriterCache. Please use LruTaxonomyWriterCache instead. (Vigya Sharma) @@ -64,11 +61,6 @@ API Changes * GITHUB#12599: Add RandomAccessInput#readBytes method to the RandomAccessInput interface. (Ignacio Vera) -* GITHUB#12709: Consolidate FSTStore and BytesStore in FST. Created FSTReader which contains the common methods - of the two (Anh Dung Bui) - -* GITHUB#12735: Remove FSTCompiler#getTermCount() and FSTCompiler.UnCompiledNode#inputCount (Anh Dung Bui) - New Features --------------------- @@ -91,13 +83,6 @@ Improvements * GITHUB#12447: Hunspell: speed up the dictionary enumeration on suggestion (Peter Gromov) -* GITHUB#12542: FSTCompiler can now approximately limit how much RAM it uses to share - suffixes during FST construction using the suffixRAMLimitMB method. Larger values - result in a more minimal FST (more common suffixes are shard). Pass - Double.POSITIVE_INFINITY to use as much RAM as is needed to create a purely - minimal FST. Inspired by this Rust FST implemention: - https://blog.burntsushi.net/transducers (Mike McCandless) - Optimizations --------------------- @@ -173,6 +158,14 @@ API Changes * GITHUB#12816: Add HumanReadableQuery which takes a description parameter for debugging purposes. (Jakub Slowinski) +* GITHUB#12709: Consolidate FSTStore and BytesStore in FST. Created FSTReader which contains the common methods + of the two (Anh Dung Bui) + +* GITHUB-12695: Remove public constructor of FSTCompiler. Please use FSTCompiler.Builder + instead. (Juan M. Caicedo) + +* GITHUB#12735: Remove FSTCompiler#getTermCount() and FSTCompiler.UnCompiledNode#inputCount (Anh Dung Bui) + New Features --------------------- @@ -234,6 +227,13 @@ Improvements * GITHUB#11277, LUCENE-10241: Upgrade to OpenNLP to 1.9.4. (Jeff Zemerick) +* GITHUB#12542: FSTCompiler can now approximately limit how much RAM it uses to share + suffixes during FST construction using the suffixRAMLimitMB method. Larger values + result in a more minimal FST (more common suffixes are shard). Pass + Double.POSITIVE_INFINITY to use as much RAM as is needed to create a purely + minimal FST. Inspired by this Rust FST implemention: + https://blog.burntsushi.net/transducers (Mike McCandless) + Optimizations --------------------- * GITHUB#12183: Make TermStates#build concurrent. (Shubham Chaudhary)