diff --git a/v2.4.x/site/en/userGuide/use-partition-key.md b/v2.4.x/site/en/userGuide/use-partition-key.md index 2e5bf7d84..d119d455d 100644 --- a/v2.4.x/site/en/userGuide/use-partition-key.md +++ b/v2.4.x/site/en/userGuide/use-partition-key.md @@ -17,7 +17,7 @@ You can use the partition key to implement multi-tenancy. For details on multi-t To set a field as the partition key, specify `partition_key_field` when creating a collection schema. -In the example code below, `num_partitions` determines the number of partitions that will be created. By default, it is set to `16`. We recommend you retain the default value. +In the example code below, `num_partitions` determines the number of partitions that will be created. By default, it is set to `64`. We recommend you retain the default value.
@@ -59,7 +59,7 @@ schema = MilvusClient.create_schema( auto_id=False, enable_dynamic_field=True, partition_key_field="color", - num_partitions=16 # Number of partitions. Defaults to 16. + num_partitions=64 # Number of partitions. Defaults to 64. ) schema.add_field(field_name="id", datatype=DataType.INT64, is_primary=True)