fix: failed to raise metric_type not match error (#32203)

issue:https://github.com/milvus-io/milvus/issues/32176
pr:https://github.com/milvus-io/milvus/pull/32202

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/32211/head
zhenshan.cao 2024-04-12 15:57:19 +08:00 committed by GitHub
parent e495073e4b
commit cbac23a8ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ func (t *searchTask) initAdvancedSearchRequest(ctx context.Context) error {
PartitionIDs: nil,
Topk: queryInfo.GetTopk(),
Offset: offset,
MetricType: queryInfo.GetMetricType(),
}
// set PartitionIDs for sub search