Skip to content

Commit

Permalink
fix: [2.5] Support hybrid search with expression template (#38625)
Browse files Browse the repository at this point in the history
issue: #38616

master pr: #38623

Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored Dec 20, 2024
1 parent 8cbe8da commit 7fe2cd0
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 @@ -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)
}
Expand Down

0 comments on commit 7fe2cd0

Please sign in to comment.