Former-commit-id: d1cdc65f12f76335a7118fb3ebee3df201b26a43
This commit is contained in:
zhiru 2019-07-03 15:48:21 +08:00 committed by jinhai
parent e095face90
commit 2dc45d2a7b

View File

@ -502,6 +502,7 @@ ServerError SearchVectorTask::OnExecute() {
engine::QueryResults results;
uint64_t record_count = (uint64_t)record_array_.size();
SERVER_LOG_DEBUG << file_id_array_ << std::endl;
if(file_id_array_.empty()) {
stat = DBWrapper::DB()->Query(table_name_, (size_t) top_k_, record_count, vec_f.data(), dates, results);
} else {