mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
fix: fix incomplete hybrid search result when nq > 1 (#32177)
issue: https://github.com/milvus-io/milvus/issues/25639 Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
7add7248e2
commit
02f17b842a
@ -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())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user