milvus-logo
LFAI
< Docs
  • C#

DropIndexAsync()

Drops an index.

Invocation

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

Parameters

ParameterDescriptionTypeRequired
fieldNameThe name of the field which has the index to be dropped.stringTrue
indexNameAn optional name for the index to be dropped.string?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?