Skip to content

Apache Lucene open-source search software

LUCENE-8844: bump FST version and fix related CHANGES entry

Michael Sokolove85c6e642995
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 0f40170c5e6..c6b6ccd0f39 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -27,12 +27,6 @@ Bug fixes
* LUCENE-8663: NRTCachingDirectory.slowFileExists may open a file while
it's inaccessible. (Dawid Weiss)
-Improvements
-
-* LUCENE-8781: FST lookup performance has been improved in many cases by
- encoding Arcs using full-sized arrays with gaps. The new encoding is
- enabled for postings in the default codec and for suggesters. (Mike Sokolov)
-
Other
* LUCENE-8768: Fix Javadocs build in Java 11. (Namgyu Kim)
@@ -88,6 +82,13 @@ Test Framework
======================= Lucene 8.1.1 =======================
(No Changes)
+Improvements
+
+* LUCENE-8781: FST lookup performance has been improved in many cases by
+ encoding Arcs using full-sized arrays with gaps. The new encoding is
+ enabled for postings in the default codec and for suggesters. (Mike Sokolov)
+
+
======================= Lucene 8.1.0 =======================
API Changes
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/FST.java b/lucene/core/src/java/org/apache/lucene/util/fst/FST.java
index 6a8b4f40890..d713797d11a 100644
--- a/lucene/core/src/java/org/apache/lucene/util/fst/FST.java
+++ b/lucene/core/src/java/org/apache/lucene/util/fst/FST.java
@@ -109,7 +109,7 @@ public final class FST<T> implements Accountable {
// Increment version to change it
private static final String FILE_FORMAT_NAME = "FST";
private static final int VERSION_START = 6;
- private static final int VERSION_CURRENT = VERSION_START;
+ private static final int VERSION_CURRENT = 7;
// Never serialized; just used to represent the virtual
// final node w/ no arcs: