milvus-logo
LFAI
< Docs
  • C#

LoadAsync()

Loads a collection into memory so that it can be searched or queried.

Invocation

await collection.LoadAsync(replicaNumber = null, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
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.