mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
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:
parent
ee70fde80e
commit
337075411d
@ -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
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user