mirror of https://github.com/milvus-io/milvus.git
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>pull/32373/head
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