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.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?