From 26cbc74478c027861f1b08ef3cb8d3b3c43fea3e Mon Sep 17 00:00:00 2001 From: Xianhui Lin <35839735+JsDove@users.noreply.github.com> Date: Fri, 9 May 2025 10:42:53 +0800 Subject: [PATCH] fix: support infix and suffix match types in JsonStats (#41720) fix: support infix and suffix match types in JsonStats issue:https://github.com/milvus-io/milvus/issues/41386 Signed-off-by: Xianhui.Lin --- internal/core/src/exec/expression/UnaryExpr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/core/src/exec/expression/UnaryExpr.cpp b/internal/core/src/exec/expression/UnaryExpr.cpp index fa9194b490..587c275f43 100644 --- a/internal/core/src/exec/expression/UnaryExpr.cpp +++ b/internal/core/src/exec/expression/UnaryExpr.cpp @@ -1247,8 +1247,6 @@ PhyUnaryRangeFilterExpr::ExecRangeVisitorImplJsonForIndex() { CompareValueWithOpType(type, value, val, op_type); case proto::plan::NotEqual: CompareValueWithOpType(type, value, val, op_type); - case proto::plan::PrefixMatch: - case proto::plan::Match: default: return false; } @@ -1378,6 +1376,8 @@ PhyUnaryRangeFilterExpr::ExecRangeVisitorImplJsonForIndex() { } } } + case proto::plan::InnerMatch: + case proto::plan::PostfixMatch: case proto::plan::PrefixMatch: if constexpr (std::is_same_v) {