Skip to content

Commit

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

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
  • Loading branch information
czs007 authored Apr 17, 2024
1 parent 7add724 commit 02f17b8
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 @@ -738,17 +738,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 02f17b8

Please sign in to comment.