zzzxl1993 commented on code in PR #50145: URL: https://github.com/apache/doris/pull/50145#discussion_r2053224601
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -1082,10 +1077,12 @@ Status SegmentIterator::_init_inverted_index_iterators() { const auto& column = _opts.tablet_schema->column(cid); int32_t col_unique_id = column.is_extracted_column() ? column.parent_unique_id() : column.unique_id(); - RETURN_IF_ERROR(_segment->new_inverted_index_iterator( - column, - _segment->_tablet_schema->inverted_index(col_unique_id, column.suffix_path()), - _opts, &_inverted_index_iterators[cid])); + auto inverted_indexs = + _segment->_tablet_schema->inverted_indexs(col_unique_id, column.suffix_path()); + for (const auto& inverted_index : inverted_indexs) { + RETURN_IF_ERROR(_segment->new_inverted_index_iterator( Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org