🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs
  • Node

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: '' }

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?