mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 16:35:29 +08:00
Update GrpcRequestHandler.cpp (#2085)
Signed-off-by: Cross <xinyuanm9@gmail.com>
This commit is contained in:
parent
d8b1b54bd6
commit
7deef8029f
@ -521,9 +521,7 @@ GrpcRequestHandler::SearchInFiles(::grpc::ServerContext* context, const ::milvus
|
||||
|
||||
// step 2: copy file id array
|
||||
std::vector<std::string> file_ids;
|
||||
for (auto& file_id : request->file_id_array()) {
|
||||
file_ids.emplace_back(file_id);
|
||||
}
|
||||
std::copy(request->file_id_array().begin(), request->file_id_array().end(), std::back_inserter(file_ids));
|
||||
|
||||
// step 3: partition tags
|
||||
std::vector<std::string> partitions;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user