milvus-logo

releaseCollection()

This method releases the specified collection from memory.

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.releaseCollection(ReleaseCollectionReq);

Parameters

ReleaseCollectionReq

ParameterDescriptionTypeRequired
collection_nameName of the collection to releaseStringTrue

Example

new milvusClient(MILUVS_ADDRESS).collectionManager.releaseCollection({
  collection_name: 'my_collection',
});

Return

// releaseCollection return
{ error_code: 'Success', reason: '' }