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

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


The following commit(s) were added to refs/heads/clucene by this push:
     new a1b2a2aefce [opt](inverted index) inverted Index File Cache Queue 
Optimization (#268)
a1b2a2aefce is described below

commit a1b2a2aefcecad157448de49a88abf01d18d9ccf
Author: zzzxl <yangs...@selectdb.com>
AuthorDate: Thu Dec 26 15:02:24 2024 +0800

    [opt](inverted index) inverted Index File Cache Queue Optimization (#268)
---
 src/core/CLucene/index/TermInfosReader.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/core/CLucene/index/TermInfosReader.cpp 
b/src/core/CLucene/index/TermInfosReader.cpp
index d4582c77b67..23b24ff690f 100644
--- a/src/core/CLucene/index/TermInfosReader.cpp
+++ b/src/core/CLucene/index/TermInfosReader.cpp
@@ -58,7 +58,6 @@ TermInfosReader::TermInfosReader(Directory* dir, const char* 
seg, FieldInfos* fi
 
         // tii
         auto tiiStream = directory->openInput(tiiFile.c_str(), readBufferSize);
-        tiiStream->setIndexFile(true);
         indexEnum = _CLNEW SegmentTermEnum(tiiStream, fieldInfos, true);
         indexEnum->init(-1);
         CND_CONDITION(indexEnum != NULL, "No memory could be allocated for 
index enumerator");


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

Reply via email to