fix: Support hybrid search with expression template (#38623)

issue: #38616

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
pull/38662/head
cai.zhang 2024-12-23 14:32:51 +08:00 committed by GitHub
parent 205231b9c7
commit 2356425530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 5 deletions

View File

@ -493,6 +493,7 @@ func convertHybridSearchToSearch(req *milvuspb.HybridSearchRequest) *milvuspb.Se
DslType: sub.GetDslType(), DslType: sub.GetDslType(),
SearchParams: sub.GetSearchParams(), SearchParams: sub.GetSearchParams(),
Nq: sub.GetNq(), Nq: sub.GetNq(),
ExprTemplateValues: sub.GetExprTemplateValues(),
} }
ret.SubReqs = append(ret.SubReqs, subReq) ret.SubReqs = append(ret.SubReqs, subReq)
} }