mirror of https://github.com/milvus-io/milvus.git
fix: Support hybrid search with expression template (#38623)
issue: #38616 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>pull/38662/head
parent
205231b9c7
commit
2356425530
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue