From 7363a1c0cb3c75724a7a3dbd7bc8be8c30e2d49e Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 23 Dec 2024 14:34:50 +0800 Subject: [PATCH] fix: [2.4] Support hybrid search with expression template (#38624) issue: #38616 master pr: #38623 Signed-off-by: Cai Zhang --- internal/proxy/search_util.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/internal/proxy/search_util.go b/internal/proxy/search_util.go index 5aea8de73cd3e..bfc7229d8f249 100644 --- a/internal/proxy/search_util.go +++ b/internal/proxy/search_util.go @@ -337,11 +337,12 @@ func convertHybridSearchToSearch(req *milvuspb.HybridSearchRequest) *milvuspb.Se for _, sub := range req.GetRequests() { subReq := &milvuspb.SubSearchRequest{ - Dsl: sub.GetDsl(), - PlaceholderGroup: sub.GetPlaceholderGroup(), - DslType: sub.GetDslType(), - SearchParams: sub.GetSearchParams(), - Nq: sub.GetNq(), + Dsl: sub.GetDsl(), + PlaceholderGroup: sub.GetPlaceholderGroup(), + DslType: sub.GetDslType(), + SearchParams: sub.GetSearchParams(), + Nq: sub.GetNq(), + ExprTemplateValues: sub.GetExprTemplateValues(), } ret.SubReqs = append(ret.SubReqs, subReq) }