milvus-logo
LFAI
< Docs
  • Node

dropIndex()

This method drops the index and its corresponding index file in the collection.

Invocation

new milvusClient(MILUVS_ADDRESS).indexManager.dropIndex(DropIndexReq);

Parameter

DropIndexReq

ParameterDescriptionTypeRequired
collection_nameCollection nameStringTrue
field_nameField nameStringTrue
index_nameIndex nameStringFalse
timeoutAn optional duration of time in millisecond to allow for the RPC. Default is undefinedNumberFalse

Example

new milvusClient(MILUVS_ADDRESS).collectionManager.dropIndex({
  collection_name: "my_collection",
});

Return

// dropIndex return
Feedback

Was this page helpful?