mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
Fix lint
Former-commit-id: 52ff843377f1463bb4cad7fcf67366b3facd8d10
This commit is contained in:
parent
57e263bd55
commit
d01c555604
@ -90,7 +90,8 @@ class SearchJob : public Job {
|
|||||||
return index_files_;
|
return index_files_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::mutex& mutex() {
|
std::mutex&
|
||||||
|
mutex() {
|
||||||
return mutex_;
|
return mutex_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ XSearchTask::Execute() {
|
|||||||
{
|
{
|
||||||
std::unique_lock<std::mutex> lock(search_job->mutex());
|
std::unique_lock<std::mutex> lock(search_job->mutex());
|
||||||
XSearchTask::MergeTopkToResultSet(output_ids, output_distance, spec_k, nq, topk, metric_l2,
|
XSearchTask::MergeTopkToResultSet(output_ids, output_distance, spec_k, nq, topk, metric_l2,
|
||||||
search_job->GetResult());
|
search_job->GetResult());
|
||||||
}
|
}
|
||||||
|
|
||||||
span = rc.RecordSection(hdr + ", reduce topk");
|
span = rc.RecordSection(hdr + ", reduce topk");
|
||||||
|
Loading…
Reference in New Issue
Block a user