mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
ADD LOG
Former-commit-id: f8ce9610b58cedf3505afc956e78b656c2152e31
This commit is contained in:
parent
e94b70829c
commit
e0a6469f8a
@ -70,6 +70,14 @@ std::shared_ptr<IScheduleTask> SearchTask::Execute() {
|
||||
SearchTask::ClusterResult(output_ids, output_distence, context->nq(), spec_k, result_set);
|
||||
rc.Record("cluster result");
|
||||
|
||||
|
||||
SERVER_LOG_DEBUG << "Query Result: ";
|
||||
for(auto& id2score_vector: result_set) {
|
||||
for(auto& pair: id2score_vector) {
|
||||
SERVER_LOG_DEBUG << "id: " << pair.first << ", distance: " << pair.second;
|
||||
}
|
||||
}
|
||||
|
||||
//step 4: pick up topk result
|
||||
SearchTask::TopkResult(result_set, inner_k, context->GetResult());
|
||||
rc.Record("reduce topk");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user