milvus-logo
LFAI
< Docs
  • C#

FlushAsync()

Flushes collection data to disk, required only in order to get up-to-date statistics. This method will be removed in a future version.

Invocation

await collection.FlushAsync(cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A FlushResult containing information about the flush operation.

Feedback

Was this page helpful?