mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
refactor(db): change print for search
Former-commit-id: c1df662f54ba5132db8d4fbbbd9b1e9998a61e7a
This commit is contained in:
parent
ae5e672061
commit
9cb81455a1
@ -120,7 +120,8 @@ Status DBImpl::search(const std::string& group_id, size_t k, size_t nq,
|
||||
index = read_index(file.location.c_str());
|
||||
zilliz::vecwise::cache::CpuCacheMgr::GetInstance()->InsertItem(file.location, index);
|
||||
}
|
||||
LOG(DEBUG) << "Search Index Of Size: " << index->dim * index->ntotal * 4 /(1024*1024) << " M";
|
||||
LOG(DEBUG) << "Search file_type " << file.file_type << " Of Size: "
|
||||
<< index->dim * index->ntotal * 4 /(1024*1024) << " M";
|
||||
index->search(nq, vectors, k, output_distence, output_ids);
|
||||
cluster(output_ids, output_distence); // cluster to each query
|
||||
memset(output_distence, 0, k * nq * sizeof(float));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user