mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: correct WithGroupSize while reducing (#40888)
issue: https://github.com/milvus-io/milvus/issues/40887 Signed-off-by: chasingegg <chao.gao@zilliz.com>
This commit is contained in:
parent
33628c7fe5
commit
e7050a9cef
@ -393,7 +393,7 @@ func (node *QueryNode) searchChannel(ctx context.Context, req *querypb.SearchReq
|
||||
resp, err := segments.ReduceSearchOnQueryNode(ctx, results,
|
||||
reduce.NewReduceSearchResultInfo(req.GetReq().GetNq(),
|
||||
req.GetReq().GetTopk()).WithMetricType(req.GetReq().GetMetricType()).WithGroupByField(req.GetReq().GetGroupByFieldId()).
|
||||
WithGroupSize(req.GetReq().GetGroupByFieldId()).WithAdvance(req.GetReq().GetIsAdvanced()))
|
||||
WithGroupSize(req.GetReq().GetGroupSize()).WithAdvance(req.GetReq().GetIsAdvanced()))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user