milvus-logo
LFAI
< Docs
  • C#

CompactAsync()

Compacts the collection.

Invocation

await collection.CompactAsync(newName, cancellationToken = default);

Parameters

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

Return

The compaction ID.

Feedback

Was this page helpful?