Skip to content

Commit

Permalink
fix: fix incomplete hybrid search result when nq > 1 (#32178)
Browse files Browse the repository at this point in the history
pr: #32177
issue: #25639

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
  • Loading branch information
czs007 authored Apr 12, 2024
1 parent a72a9cd commit 6d7c6db
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/proxy/task_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,17 +714,6 @@ func (t *searchTask) Requery() error {
UseDefaultConsistency: false,
GuaranteeTimestamp: t.SearchRequest.GuaranteeTimestamp,
}

if t.SearchRequest.GetIsAdvanced() {
queryReq.QueryParams = []*commonpb.KeyValuePair{
{
Key: LimitKey,
Value: strconv.FormatInt(t.rankParams.limit, 10),
},
}
} else {
queryReq.QueryParams = t.request.GetSearchParams()
}
return doRequery(t.ctx, t.GetCollectionID(), t.node, t.schema.CollectionSchema, queryReq, t.result, t.queryChannelsTs, t.GetPartitionIDs())
}

Expand Down

0 comments on commit 6d7c6db

Please sign in to comment.