This chapter introduces how to delete a vector index in Hippo.
curl -u shiva:shiva -XDELETE 'localhost:8902/hippo/v1/{table}/_drop_embedding_index?database_name={database_name}&pretty' -H 'Content-Type: application/json' -d'{
"index_name" : "book_intro_index"
}';
Result:
{
"acknowledged" : true
}
Parameter description:
Parameters | Description | Required |
---|---|---|
table | Table name, such as "book" created in this example | Yes |
database_name | Database where the table is located | No, defaults to "default" database |
index_name | Index to be deleted. If users would like to delete multiple indexes, they should list all names as: ["a","b","c"] | Yes |