Skip to content

Commit

Permalink
[opt](inverted index) inverted Index File Cache Queue Optimization (#268
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zzzxl1993 authored Dec 26, 2024
1 parent 2204eae commit a1b2a2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/CLucene/index/TermInfosReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a1b2a2a

Please sign in to comment.