milvus-logo
LFAI
< Docs
  • C#

GetIndexBuildProgressAsync()

Gets the build progress of an index.

Invocation

await collection.GetIndexBuildProgressAsync(fieldName, indexName = null, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
fieldNameThe name of the field which has the index.stringTrue
indexNameAn optional name of the index.string?False
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

An IndexBuildProgress with the number of rows indexed and the total number of rows.

Feedback

Was this page helpful?