milvus-logo
Star
0
Forks
0
快速开始

releasePartitions()

This method releases the specified partition from memory.

Invocation

new milvusClient(MILUVS_ADDRESS).partitionManager.releasePartitions(ReleasePartitionsReq);

Parameters

ReleasePartitionsReq

ParameterDescriptionTypeRequired
collection_nameName of the collection in which the partition to release existsStringTrue
partition_namesAn array of the name of the partitions to releaseString arrayTrue

Example

new milvusClient(MILUVS_ADDRESS).partitionManager.releasePartitions({
  collection_name: 'my_collection',
  partition_names: ['my_partition'],
});

Return

{ error_code: 'Success', reason: '' }