Skip to content

Commit

Permalink
fix: [2.4] Support hybrid search with expression template (milvus-io#…
Browse files Browse the repository at this point in the history
…38624)

issue: milvus-io#38616 

master pr: milvus-io#38623

Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored Dec 23, 2024
1 parent ad68bc6 commit 7363a1c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions internal/proxy/search_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 7363a1c

Please sign in to comment.