#1719 Remove unused log (#1720)

Signed-off-by: jinhai <hai.jin@zilliz.com>
This commit is contained in:
Jin Hai 2020-03-21 12:48:41 +08:00 committed by GitHub
parent 3c3617fd81
commit 9443af3e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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");
}