You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2019/06/08 14:19:50 UTC
[lucene-solr] branch branch_8x updated: LUCENE-8844: bump FST
version and fix related CHANGES entry
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new a8478c7 LUCENE-8844: bump FST version and fix related CHANGES entry
a8478c7 is described below
commit a8478c790aeb888e165670b3329188d3d5290ffd
Author: Michael Sokolov <so...@amazon.com>
AuthorDate: Sat Jun 8 09:37:38 2019 -0400
LUCENE-8844: bump FST version and fix related CHANGES entry
---
lucene/CHANGES.txt | 4 ++++
lucene/core/src/java/org/apache/lucene/util/fst/FST.java | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index f44c845..c95e1ac 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -40,6 +40,10 @@ Improvements
* LUCENE-8770: BlockMaxConjunctionScorer now leverages two-phase iterators in order to avoid
executing the second phase when scorers don't intersect. (Adrien Grand, Jim Ferenczi)
+* 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-8757: When provided with an ExecutorService to run queries across
multiple threads, IndexSearcher now groups small segments together, up to
250k docs per slice. (Atri Sharma via Adrien Grand)
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 afc9a3f..d6b50f3 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: