[skip ci]Format segcore code (#10815)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/10825/head
yukun 2021-10-28 17:22:28 +08:00 committed by GitHub
parent 1cfafb9ee0
commit 36e19ab9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -141,10 +141,9 @@ BinarySearch(const segcore::SegmentGrowingImpl& segment,
query::dataset::SearchDataset search_dataset{metric_type, num_queries, topk, round_decimal, dim, query_data};
auto vec_ptr = record.get_field_data<BinaryVector>(vecfield_offset);
auto max_indexed_id = 0;
// step 4: brute force search where small indexing is unavailable
// step 4: brute force search where small indexing is unavailable
auto vec_size_per_chunk = vec_ptr->get_size_per_chunk();
auto max_chunk = upper_div(ins_barrier, vec_size_per_chunk);
SubSearchResult final_result(num_queries, topk, metric_type, round_decimal);