Skip to content

Commit

Permalink
enhance: Fix SearchOnSealed clang-format lint (milvus-io#36056)
Browse files Browse the repository at this point in the history
Related to milvus-io#36008

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored and chyezh committed Sep 11, 2024
1 parent f328521 commit 52c7a32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/core/src/query/SearchOnSealed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 52c7a32

Please sign in to comment.