This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 37f2b5d3396 [fix](inverted index) index-tool compile error (#52710)
37f2b5d3396 is described below
commit 37f2b5d33967a8810267854140247709ef353f37
Author: zzzxl <[email protected]>
AuthorDate: Fri Jul 4 19:48:46 2025 +0800
[fix](inverted index) index-tool compile error (#52710)
https://github.com/apache/doris/pull/52508
Co-authored-by: Yongqiang YANG <[email protected]>
---
be/src/index-tools/index_tool.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/index-tools/index_tool.cpp
b/be/src/index-tools/index_tool.cpp
index ca0575dc545..e45902c0f24 100644
--- a/be/src/index-tools/index_tool.cpp
+++ b/be/src/index-tools/index_tool.cpp
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]