未验证 提交 9443af3e 编写于 作者: J Jin Hai 提交者: GitHub

#1719 Remove unused log (#1720)

Signed-off-by: Njinhai <hai.jin@zilliz.com>
上级 3c3617fd
......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册