mirror of https://github.com/milvus-io/milvus.git
enhance: Use primitive type for vectorType (#33911)
issue: #22837 pr: #33868 Use primitive type instead of proto enum type for queryHook to recognize Signed-off-by: chasingegg <chao.gao@zilliz.com>pull/33941/head
parent
e8071830fa
commit
08c096cf55
|
@ -62,7 +62,7 @@ func OptimizeSearchParams(ctx context.Context, req *querypb.SearchRequest, query
|
|||
common.SearchParamKey: queryInfo.GetSearchParams(),
|
||||
common.SegmentNumKey: estSegmentNum,
|
||||
common.WithFilterKey: withFilter,
|
||||
common.DataTypeKey: plan.GetVectorAnns().GetVectorType(),
|
||||
common.DataTypeKey: int32(plan.GetVectorAnns().GetVectorType()),
|
||||
common.WithOptimizeKey: paramtable.Get().AutoIndexConfig.EnableOptimize.GetAsBool(),
|
||||
common.CollectionKey: req.GetReq().GetCollectionID(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue