[skip ci]Remove unused code in segcore Search (#10814)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-28 17:20:34 +08:00 committed by GitHub
parent b76c526907
commit 1cfafb9ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,12 +127,6 @@ BinarySearch(const segcore::SegmentGrowingImpl& segment,
auto metric_type = info.metric_type_;
// auto del_barrier = get_barrier(deleted_record_, timestamp);
#if 0
auto bitmap_holder = get_deleted_bitmap(del_barrier, timestamp, ins_barrier);
Assert(bitmap_holder);
auto bitmap = bitmap_holder->bitmap_ptr;
#endif
// step 2.1: get meta
// step 2.2: get which vector field to search
auto vecfield_offset = info.field_offset_;