This is an automated email from the ASF dual-hosted git repository.

jianliangqi pushed a commit to branch clucene-2.0
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/clucene-2.0 by this push:
     new 44b9a4bfda [fix](invert dict) fix compatibility issues with 
upgrades/downgrades (#177)
44b9a4bfda is described below

commit 44b9a4bfda2e1bc64ded05c4770ec015ac7e54d5
Author: zzzxl <33418555+zzzxl1...@users.noreply.github.com>
AuthorDate: Wed Jan 17 11:39:05 2024 +0800

    [fix](invert dict) fix compatibility issues with upgrades/downgrades (#177)
---
 src/core/CLucene/index/_TermInfosWriter.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/CLucene/index/_TermInfosWriter.h 
b/src/core/CLucene/index/_TermInfosWriter.h
index b2063f81d8..03de435a14 100644
--- a/src/core/CLucene/index/_TermInfosWriter.h
+++ b/src/core/CLucene/index/_TermInfosWriter.h
@@ -45,7 +45,7 @@ private:
 public:
     int32_t maxSkipLevels;
 
-    LUCENE_STATIC_CONSTANT(int32_t, FORMAT = -4);
+    LUCENE_STATIC_CONSTANT(int32_t, FORMAT = -3);
     LUCENE_STATIC_CONSTANT(int32_t, DEFAULT_TERMDOCS_SKIP_INTERVAL = 
PFOR_BLOCK_SIZE);
 
     int32_t indexInterval;// = 128
@@ -98,7 +98,7 @@ public:
     int32_t maxSkipLevels;
 
     /** The file format version, a negative number. */
-    LUCENE_STATIC_CONSTANT(int32_t, FORMAT = -4);
+    LUCENE_STATIC_CONSTANT(int32_t, FORMAT = -3);
 
     //Expert: The fraction of {@link TermDocs} entries stored in skip tables,
     //used to accellerate {@link TermDocs#skipTo(int)}.  Larger values result 
in


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to