milvus-logo
Star
0
Forks
0
Get Started

loadCollection()

Loads the collection to memory (for search or query).

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.loadCollection(LoadCollectionReq);

Parameter

LoadCollectionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue

Example

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

Return

// loadCollection return