milvus-logo
Star
0
Forks
0
Get Started

loadCollectionSync()

Loads the collection to memory (for search or query). It's sync function. Help to ensure this collection is loaded.

Invocation

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

Parameter

LoadCollectionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue

Example

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

Return

// loadCollectionSync return