mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 20:39:36 +08:00
update
Former-commit-id: b75d6fad2d4165cc08ea1b528a9cff36791344b1
This commit is contained in:
parent
e89f9b18c1
commit
0b003144a5
@ -482,7 +482,11 @@ ServerError SearchVectorTask::OnExecute() {
|
|||||||
engine::QueryResults results;
|
engine::QueryResults results;
|
||||||
uint64_t record_count = (uint64_t)record_array_.size();
|
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()) {
|
if(file_id_array_.empty()) {
|
||||||
stat = DBWrapper::DB()->Query(table_name_, (size_t) top_k_, record_count, vec_f.data(), dates, results);
|
stat = DBWrapper::DB()->Query(table_name_, (size_t) top_k_, record_count, vec_f.data(), dates, results);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user