milvus-logo
LFAI
< Docs
  • C#

WaitForIndexBuildAsync()

Polls Milvus for building progress of an index until it is fully built. To perform a single progress check, use GetIndexBuildProgressAsync.

Invocation

await collection.WaitForIndexBuildAsync(fieldName, indexName = null, waitingInterval = null, timeout = null, progress = null, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
fieldNameThe name of the field which has the index.stringTrue
indexNameAn optional name of the index.string?False
waitingIntervalWaiting interval. Defaults to 500 milliseconds.TimeSpan?False
timeoutHow long to poll for before throwing a TimeoutException.TimeSpan?False
progressProvides information about the progress of the loading operation.IProgress<long>?False
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.

Feedback

Was this page helpful?