Former-commit-id: 1f6af0b88d5d9d3b70ab5c891e8ce6c3a6f004a1
This commit is contained in:
yu yunfeng 2019-07-03 20:07:11 +08:00 committed by jinhai
parent 640f3f3917
commit e94b70829c

View File

@ -138,6 +138,7 @@ Status FaissExecutionEngine::Search(long n,
auto start_time = METRICS_NOW_TIME;
std::shared_ptr<faiss::IndexIVF> ivf_index = std::dynamic_pointer_cast<faiss::IndexIVF>(pIndex_);
//ENGINE_LOG_DEBUG << "Index nlist: " << ivf_index->nlist << ", ntotal: "<< ivf_index->ntotal;
if(ivf_index) {
ENGINE_LOG_DEBUG << "Index type: IVFFLAT nProbe: " << nprobe_;
ivf_index->nprobe = nprobe_;