Create and Drop a Partition

This article provides Python sample codes for creating or dropping partitions.

Create a Partition

To improve search efficiency, you can divide a collection into several partitions by tags. In fact, each partition is a collection.

# Create a partition.
>>> milvus.create_partition('test01', 'tag01')

Drop a Partition

>>> milvus.drop_partition(collection_name='test01', partition_tag='tag01')
On this page