This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new f792ff8381d branch-4.0: [opt](inverted index) update clucene version
#56624 (#56654)
f792ff8381d is described below
commit f792ff8381da636171ffc329d72be508db8a115c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 30 13:58:34 2025 +0800
branch-4.0: [opt](inverted index) update clucene version #56624 (#56654)
Cherry-picked from #56624
Co-authored-by: zzzxl <[email protected]>
---
be/src/olap/rowset/segment_v2/inverted_index_writer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp
b/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp
index 1c3552f075a..3a862367cad 100644
--- a/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp
+++ b/be/src/olap/rowset/segment_v2/inverted_index_writer.cpp
@@ -171,7 +171,7 @@ Status
InvertedIndexColumnWriter<field_type>::create_field(lucene::document::Fie
}
})
if (_index_file_writer->get_storage_format() >=
InvertedIndexStorageFormatPB::V3) {
- (*field)->setIndexVersion(IndexVersion::kV3);
+ (*field)->setIndexVersion(IndexVersion::kV4);
// Only effective in v3
std::string dict_compression =
get_parser_dict_compression_from_properties(_index_meta->properties());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]