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

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

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

View File

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