diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/InvertedIndexUtil.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/InvertedIndexUtil.java index 5fe3d47dfa08c6..4196f774e2b2d5 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/InvertedIndexUtil.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/InvertedIndexUtil.java @@ -52,7 +52,7 @@ public static String getInvertedIndexParser(Map properties) { public static String getInvertedIndexParserMode(Map properties) { String mode = properties == null ? null : properties.get(INVERTED_INDEX_PARSER_MODE_KEY); // default is "none" if not set - return mode != null ? mode : INVERTED_INDEX_PARSER_FINE_GRANULARITY; + return mode != null ? mode : INVERTED_INDEX_PARSER_COARSE_GRANULARITY; } public static Map getInvertedIndexCharFilter(Map properties) { diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/ExpressionTranslator.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/ExpressionTranslator.java index 872c7eed5c0ccf..336da68dd3580d 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/ExpressionTranslator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/ExpressionTranslator.java @@ -197,7 +197,7 @@ private OlapTable getOlapTableDirectly(SlotRef left) { @Override public Expr visitMatch(Match match, PlanTranslatorContext context) { String invertedIndexParser = InvertedIndexUtil.INVERTED_INDEX_PARSER_UNKNOWN; - String invertedIndexParserMode = InvertedIndexUtil.INVERTED_INDEX_PARSER_FINE_GRANULARITY; + String invertedIndexParserMode = InvertedIndexUtil.INVERTED_INDEX_PARSER_COARSE_GRANULARITY; Map invertedIndexCharFilter = new HashMap<>(); SlotRef left = (SlotRef) match.left().accept(this, context); OlapTable olapTbl = Optional.ofNullable(getOlapTableFromSlotDesc(left.getDesc()))