Restful API error: When the specified partition is retrieved, the partition_tag is not valid (#4206)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2020-11-10 17:55:34 +08:00 committed by GitHub
parent ee70fde80e
commit 337075411d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Please mark all changes in change log and use the issue from GitHub
- \#4113 After milvus 0.11.0 version vector data is misaligned
- \#4116 ResfulApi Search return null
- \#4170 Must_not query check failed in dsl
- \#4205 Restful API error: When the specified partition is retrieved, the partition_tag is not valid
## Feature
- \#4163 Update C++ sdk search interface

View File

@ -800,6 +800,7 @@ WebRequestHandler::Search(const std::string& collection_name, const nlohmann::js
auto boolean_query_json = query_json["bool"];
auto boolean_query = std::make_shared<query::BooleanQuery>();
query_ptr_ = std::make_shared<query::Query>();
query_ptr_->partitions = partition_tags;
query_ptr_->collection_id = collection_name;
status = ProcessBooleanQueryJson(boolean_query_json, boolean_query, query_ptr_);