Skip to content

Commit

Permalink
[fix](inverted index) fix index-tool compilation errors (apache#44320)
Browse files Browse the repository at this point in the history
Problem Summary:
 fix index-tool compilation errors
  • Loading branch information
zzzxl1993 authored Nov 21, 2024
1 parent 3352d84 commit 2953055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/index-tools/index_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ int main(int argc, char** argv) {
auto dir = std::forward<T>(st).value();
auto analyzer = _CLNEW lucene::analysis::standard95::StandardAnalyzer();
// auto analyzer = _CLNEW lucene::analysis::SimpleAnalyzer<char>();
auto indexwriter = _CLNEW lucene::index::IndexWriter(dir, analyzer, true, true);
auto indexwriter = _CLNEW lucene::index::IndexWriter(dir.get(), analyzer, true, true);
indexwriter->setRAMBufferSizeMB(512);
indexwriter->setMaxFieldLength(0x7FFFFFFFL);
indexwriter->setMergeFactor(100000000);
Expand Down

0 comments on commit 2953055

Please sign in to comment.