mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Merge branch 'release-v1' of 192.168.1.105:jinhai/vecwise_engine into release-v1
Former-commit-id: 48c50673ea7e468d7ec4d9f5c2bc6b92bb4da5d7
This commit is contained in:
commit
d918a22c33
@ -162,9 +162,9 @@ Status DBImpl<EngineT>::search(const std::string& group_id, size_t k, size_t nq,
|
||||
for (auto &item : inverted_table){
|
||||
if (count == k) break;
|
||||
for (auto &id : item.second){
|
||||
if (++count == k) break;
|
||||
output_distence[count] = item.first;
|
||||
output_ids[count] = id;
|
||||
if (++count == k) break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user