Former-commit-id: b8255e6455c40e0ee843a56787502b65312b2a4a
This commit is contained in:
zhiru 2019-07-03 15:48:21 +08:00
parent cba93cf25d
commit e89f9b18c1

View File

@ -482,6 +482,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 {