This method loads the specified partition to memory (for search or query).
new milvusClient(MILUVS_ADDRESS).partitionManager.loadPartitions(LoadPartitionsReq);
Parameter | Description | Type | Required |
---|---|---|---|
collection_name | Name of the collection in which the partition to load exists | String | True |
partition_names | An array of the names of the partitions to load | String array | True |
new milvusClient(MILUVS_ADDRESS).partitionManager.loadPartitions({
collection_name: 'my_collection',
partition_names: ['my_partition'],
});
{ error_code: 'Success', reason: '' }