mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
ADD LOG
Former-commit-id: 864d502d90f0b5e1b75da7eee8fcafc9a8c305dd
This commit is contained in:
parent
e22078a0c3
commit
f185a8b606
@ -167,6 +167,14 @@ std::shared_ptr<IScheduleTask> SearchTask::Execute() {
|
||||
ClusterResult(output_ids, output_distence, context->nq(), inner_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
|
||||
TopkResult(result_set, inner_k, context->GetResult());
|
||||
rc.Record("reduce topk");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user