milvus-logo
LFAI
< Docs
  • C#

LoadPartitionsAsync()

Loads partitions into memory so that they can be searched or queries.

Invocation

await collection.CreatePartitionsAsync(partitionNames, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
partitionNamesThe names of the partitions to be loaded.IReadOnlyList<string>True
replicaNumberAn optional replica number to load.int?True
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.

Feedback

Was this page helpful?