diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp b/be/src/olap/rowset/segment_v2/segment_iterator.cpp index cdc6baf578..3ef6b26bd5 100644 --- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp +++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp @@ -627,12 +627,9 @@ bool SegmentIterator::_is_handle_predicate_by_fulltext(ColumnPredicate* predicat auto column_id = predicate->column_id(); int32_t unique_id = _schema.unique_id(column_id); bool handle_by_fulltext = - (_inverted_index_iterators[unique_id] != nullptr) && - (is_string_type(_schema.column(column_id)->type())) && - ((_inverted_index_iterators[unique_id]->get_inverted_index_analyser_type() == - InvertedIndexParserType::PARSER_ENGLISH) || - (_inverted_index_iterators[unique_id]->get_inverted_index_analyser_type() == - InvertedIndexParserType::PARSER_STANDARD)); + _inverted_index_iterators[unique_id] != nullptr && + _inverted_index_iterators[unique_id]->get_inverted_index_reader_type() == + InvertedIndexReaderType::FULLTEXT; return handle_by_fulltext; }