enhance: Fix SearchOnSealed clang-format lint (#36056)

Related to #36008

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/36044/head^2
congqixia 2024-09-06 16:47:04 +08:00 committed by GitHub
parent 21b135c7c2
commit a103dd5eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ SearchOnSealedIndex(const Schema& schema,
auto field_indexing = record.get_field_indexing(field_id);
AssertInfo(field_indexing->metric_type_ == search_info.metric_type_,
"Metric type of field index isn't the same with search info,"
"field index: {}, search info: {}", field_indexing->metric_type_, search_info.metric_type_);
"field index: {}, search info: {}",
field_indexing->metric_type_,
search_info.metric_type_);
auto dataset = knowhere::GenDataSet(num_queries, dim, query_data);
dataset->SetIsSparse(is_sparse);