You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "airborne12 (via GitHub)" <gi...@apache.org> on 2023/01/29 01:05:18 UTC

[GitHub] [doris] airborne12 commented on a diff in pull request #16161: [fix](inverted index) fulltext match query should not prune by zone map

airborne12 commented on code in PR #16161:
URL: https://github.com/apache/doris/pull/16161#discussion_r1089842568


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -367,6 +367,12 @@ Status SegmentIterator::_get_row_ranges_from_conditions(RowRanges* condition_row
     RowRanges zone_map_row_ranges = RowRanges::create_single(num_rows());
     // second filter data by zone map
     for (auto& cid : cids) {
+        if (_inverted_index_iterators[_schema.unique_id(cid)] != nullptr &&

Review Comment:
   may be we can use the same logic above to tell whether it's a fulltext match query or not?



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org