Former-commit-id: b75d6fad2d4165cc08ea1b528a9cff36791344b1
This commit is contained in:
zhiru 2019-07-03 16:04:00 +08:00
parent e89f9b18c1
commit 0b003144a5

View File

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