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.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?