Loads the collection to memory (for search or query). It's sync function. Help to ensure this collection is loaded.
new milvusClient(MILUVS_ADDRESS).collectionManager.loadCollectionSync(LoadCollectionReq);
Parameter | Description | type | required |
---|---|---|---|
collection_name | Collection name | String | true |
new milvusClient(MILUVS_ADDRESS).collectionManager.loadCollectionSync({
collection_name: 'my_collection',
});
// loadCollectionSync return