milvus-logo
LFAI
< Docs
  • C#

LoadPartitionAsync()

Loads a partition into memory so that it can be searched or queries.

Invocation

await collection.LoadPartitionAsync(partitionName, replicaNumber = 1, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
partitionNameThe name of partition to be loaded.stringTrue
replicaNumberAn optional replica number to load.int?False
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.