mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-02 00:45:30 +08:00
Signed-off-by: jinhai <hai.jin@zilliz.com>
This commit is contained in:
parent
3c3617fd81
commit
9443af3e87
@ -29,6 +29,7 @@ Please mark all change in change log and use the issue from GitHub
|
||||
- \#1653 IndexFlat (SSE) and IndexBinaryFlat performance improvement for small NQ
|
||||
- \#1678 Remove CUSTOMIZATION macro
|
||||
- \#1698 Upgrade mishards to v0.7.0
|
||||
- \#1719 Improve Milvus log
|
||||
|
||||
## Task
|
||||
|
||||
|
||||
@ -775,7 +775,6 @@ ExecutionEngineImpl::Search(int64_t n, const float* data, int64_t k, const milvu
|
||||
milvus::json conf = extra_params;
|
||||
conf[knowhere::meta::TOPK] = k;
|
||||
auto adapter = knowhere::AdapterMgr::GetInstance().GetAdapter(index_->index_type());
|
||||
ENGINE_LOG_DEBUG << "Search params: " << conf.dump();
|
||||
if (!adapter->CheckSearch(conf, index_->index_type(), index_->index_mode())) {
|
||||
throw Exception(DB_ERROR, "Illegal search params");
|
||||
}
|
||||
@ -813,7 +812,6 @@ ExecutionEngineImpl::Search(int64_t n, const uint8_t* data, int64_t k, const mil
|
||||
milvus::json conf = extra_params;
|
||||
conf[knowhere::meta::TOPK] = k;
|
||||
auto adapter = knowhere::AdapterMgr::GetInstance().GetAdapter(index_->index_type());
|
||||
ENGINE_LOG_DEBUG << "Search params: " << conf.dump();
|
||||
if (!adapter->CheckSearch(conf, index_->index_type(), index_->index_mode())) {
|
||||
throw Exception(DB_ERROR, "Illegal search params");
|
||||
}
|
||||
@ -851,7 +849,6 @@ ExecutionEngineImpl::Search(int64_t n, const std::vector<int64_t>& ids, int64_t
|
||||
milvus::json conf = extra_params;
|
||||
conf[knowhere::meta::TOPK] = k;
|
||||
auto adapter = knowhere::AdapterMgr::GetInstance().GetAdapter(index_->index_type());
|
||||
ENGINE_LOG_DEBUG << "Search params: " << conf.dump();
|
||||
if (!adapter->CheckSearch(conf, index_->index_type(), index_->index_mode())) {
|
||||
throw Exception(DB_ERROR, "Illegal search params");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user