提交 59f7c701 编写于 作者: Y yu yunfeng 提交者: jinhai

ADD LOG


Former-commit-id: b1c9a481cea5d40c365a75a9860eb9879b3c31ab
上级 62038e08
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册