releaseCollection()
This method releases the specified collection from memory.
Invocation
new milvusClient(MILUVS_ADDRESS).collectionManager.releaseCollection(
ReleaseCollectionReq
);
Parameters
ReleaseCollectionReq
Parameter | Description | Type | Required |
---|---|---|---|
collection_name | Name of the collection to release | String | True |
timeout | An optional duration of time in millisecond to allow for the RPC. Default is undefined | Number | False |
Example
new milvusClient(MILUVS_ADDRESS).collectionManager.releaseCollection({
collection_name: "my_collection",
});
Return
// releaseCollection return
{ error_code: 'Success', reason: '' }