mirror of https://github.com/milvus-io/milvus.git
Log optimized search params (#23930)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/23962/head
parent
a933b595c4
commit
426ed30d2d
|
@ -265,7 +265,7 @@ func (node *QueryNode) optimizeSearchParams(ctx context.Context, req *querypb.Se
|
|||
return req, nil
|
||||
}
|
||||
|
||||
log := log.Ctx(ctx)
|
||||
log := log.Ctx(ctx).With(zap.Int64("collection", req.GetReq().GetCollectionID()))
|
||||
|
||||
serializedPlan := req.GetReq().GetSerializedExprPlan()
|
||||
// plan not found
|
||||
|
@ -315,7 +315,7 @@ func (node *QueryNode) optimizeSearchParams(ctx context.Context, req *querypb.Se
|
|||
return nil, merr.WrapErrParameterInvalid("marshalable search plan", "plan with marshal error", err.Error())
|
||||
}
|
||||
req.Req.SerializedExprPlan = serializedExprPlan
|
||||
|
||||
log.Debug("optimized search params done", zap.Any("queryInfo", queryInfo))
|
||||
default:
|
||||
log.Warn("not supported node type", zap.String("nodeType", fmt.Sprintf("%T", plan.GetNode())))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue