From 52c7a32b400bd19d94f2960bed5222987cb6f1e8 Mon Sep 17 00:00:00 2001 From: congqixia Date: Fri, 6 Sep 2024 16:47:04 +0800 Subject: [PATCH] enhance: Fix SearchOnSealed clang-format lint (#36056) Related to #36008 Signed-off-by: Congqi Xia --- internal/core/src/query/SearchOnSealed.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/core/src/query/SearchOnSealed.cpp b/internal/core/src/query/SearchOnSealed.cpp index cb1c437edb551..1019a4031bbfc 100644 --- a/internal/core/src/query/SearchOnSealed.cpp +++ b/internal/core/src/query/SearchOnSealed.cpp @@ -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);