Delete Scalar Index

This chapter introduces how to delete scalar index.

curl -u shiva:shiva -XDELETE 'localhost:8902/hippo/v1/{table}/_drop_scalar_index?database_name={database_name}&pretty' -H 'Content-Type: application/json' -d'{
  "index_name" : "index"
}';

Result:

{
  "acknowledged" : true
}

Parameter description:

ParametersDescriptionRequired
tableTable name, such as "book" created in this exampleYes
database_nameDatabase where the table is locatedNo, defaults to "default" database
index_nameIndex to be deleted. If users would like to delete multiple indexes, they should list all names as: ["a","b","c"]Yes
Table 33 Delete Scalar Index (Python API)