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 <xianhui.lin@zilliz.com>
This commit is contained in:
Xianhui Lin 2025-05-09 10:42:53 +08:00 committed by GitHub
parent e3c81ba1cc
commit 26cbc74478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<GetType,
proto::plan::Array>) {