diff --git a/CHANGELOG.md b/CHANGELOG.md index d85164e337..09a8a492d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/core/src/server/web_impl/handler/WebRequestHandler.cpp b/core/src/server/web_impl/handler/WebRequestHandler.cpp index 02b0adc564..2ce24f53c9 100644 --- a/core/src/server/web_impl/handler/WebRequestHandler.cpp +++ b/core/src/server/web_impl/handler/WebRequestHandler.cpp @@ -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_ptr_ = std::make_shared(); + query_ptr_->partitions = partition_tags; query_ptr_->collection_id = collection_name; status = ProcessBooleanQueryJson(boolean_query_json, boolean_query, query_ptr_);