mirror of https://github.com/milvus-io/milvus.git
Restful API error: When the specified partition is retrieved, the partition_tag is not valid (#4206)
Signed-off-by: fishpenguin <kun.yu@zilliz.com> Signed-off-by: shengjun.li <shengjun.li@zilliz.com>pull/4228/head
parent
9d0099ad2d
commit
c18e70fab3
|
@ -26,6 +26,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
|
||||
|
|
|
@ -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_);
|
||||
|
|
Loading…
Reference in New Issue