未验证 提交 fedbb697 编写于 作者: PJZero's avatar PJZero 提交者: GitHub

Update GrpcRequestHandler.cpp (#2069)

Signed-off-by: Npengjian05 <pengjian05@baidu.com>
Co-authored-by: Npengjian05 <pengjian05@baidu.com>
上级 54c9386b
......@@ -544,9 +544,8 @@ GrpcRequestHandler::SearchInFiles(::grpc::ServerContext* context, const ::milvus
// step 3: partition tags
std::vector<std::string> partitions;
for (auto& partition : search_request->partition_tag_array()) {
partitions.emplace_back(partition);
}
std::copy(search_request->partition_tag_array().begin(), search_request->partition_tag_array().end(),
std::back_inserter(partitions));
// step 4: parse extra parameters
milvus::json json_params;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册