mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 16:35:29 +08:00
Unused variable: offsets
Signed-off-by: lieve <645417202@qq.com> Signed-off-by: lizhengxie <zhengxie.li@zuolin.com>
This commit is contained in:
parent
fedbb697e3
commit
6fea6a17de
@ -1165,7 +1165,6 @@ DBImpl::GetVectorByIdHelper(const std::string& collection_id, IDNumber vector_id
|
||||
// Check if the id is present in bloom filter.
|
||||
if (id_bloom_filter_ptr->Check(vector_id)) {
|
||||
// Load uids and check if the id is indeed present. If yes, find its offset.
|
||||
std::vector<int64_t> offsets;
|
||||
std::vector<segment::doc_id_t> uids;
|
||||
auto status = segment_reader.LoadUids(uids);
|
||||
if (!status.ok()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user