mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
add uiittest for merge result functions
Former-commit-id: 810194f590afbd4b4625840875e1447b464011b0
This commit is contained in:
parent
33ec9af47b
commit
fc74f013a0
@ -14,9 +14,6 @@ Please mark all change in change log and use the ticket from JIRA.
|
||||
|
||||
## Improvement
|
||||
- MS-156 - Add unittest for merge result functions
|
||||
|
||||
- MS-152 - Delete assert in MySQLMetaImpl and change MySQLConnectionPool impl
|
||||
|
||||
- MS-152 - Delete assert in MySQLMetaImpl and change MySQLConnectionPool impl
|
||||
|
||||
## New Feature
|
||||
|
@ -67,7 +67,7 @@ std::shared_ptr<IScheduleTask> SearchTask::Execute() {
|
||||
//step 3: cluster result
|
||||
SearchContext::ResultSet result_set;
|
||||
auto spec_k = index_engine_->Count() < context->topk() ? index_engine_->Count() : context->topk();
|
||||
ClusterResult(output_ids, output_distence, context->nq(), spec_k, result_set);
|
||||
SearchTask::ClusterResult(output_ids, output_distence, context->nq(), spec_k, result_set);
|
||||
rc.Record("cluster result");
|
||||
|
||||
//step 4: pick up topk result
|
||||
|
@ -4,9 +4,7 @@
|
||||
// Proprietary and confidential.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#include "db/scheduler/task/SearchTask.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user