From 235642553048688814d7919d55a655a35d804b2b Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 23 Dec 2024 14:32:51 +0800 Subject: [PATCH] fix: Support hybrid search with expression template (#38623) issue: #38616 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 4ea14c1bf1b09..5913d16774a72 100644 --- a/internal/proxy/search_util.go +++ b/internal/proxy/search_util.go @@ -488,11 +488,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) }