milvus-logo
Star
0
Forks
0
快速开始

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