From 85e0da9fd2f168d742ff634aa7386f0188347908 Mon Sep 17 00:00:00 2001 From: Milvus-doc-bot Date: Sat, 8 Feb 2025 03:21:46 +0000 Subject: [PATCH] Generate en docs --- .../site/en/userGuide/search-query-get/use-partition-key.md | 1 + 1 file changed, 1 insertion(+) diff --git a/localization/v2.5.x/site/en/userGuide/search-query-get/use-partition-key.md b/localization/v2.5.x/site/en/userGuide/search-query-get/use-partition-key.md index 8af56d881..ba9e2378b 100644 --- a/localization/v2.5.x/site/en/userGuide/search-query-get/use-partition-key.md +++ b/localization/v2.5.x/site/en/userGuide/search-query-get/use-partition-key.md @@ -226,6 +226,7 @@ curl --request POST \​

Create Filtering Condition​

When conducting ANN searches in a collection with the Partition Key feature enabled, you need to include a filtering expression involving the Partition Key in the search request. In the filtering expression, you can restrict the Partition Key value within a specific range so that Milvus restricts the search scope within the corresponding partitions.​

+

When dealing with delete operations, It is advisable to include a filter expression that specifies a single partition key to achieve more efficient deletion. This approach limits the delete operation to a particular partition, reducing write amplification during compaction and conserving resources for compaction and indexing.

The following examples demonstrate Partition-Key-based filtering based on a specific Partition Key value and a set of Partition Key values.​

Python