🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

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

Example

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

Return

// dropIndex return

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?