All Products
Search
Document Center

Tablestore:Delete a search index

Last Updated:Apr 03, 2025

If you no longer require a search index that is created for a data table, you can delete the search index.

Usage notes

  • A deleted search index cannot be recovered. Proceed with caution.

  • You cannot delete a search index for which a canary index is created.

    Important

    A canary index is a mechanism for dynamically modifying the schema of a search index. For more information, see Dynamically modify the schema of a search index. A canary index allows you to add, update, or remove index columns from a search index and modify the routing key and sorting method for a search index without business interruption. You do not need to delete the existing search index and create a new search index.

Procedure

  1. Go to the Indexes tab.

    1. Log on to the Tablestore console.

    2. In the top navigation bar, select a resource group and a region.

    3. On the Overview page, click the name of the instance that you want to manage or click Manage Instance in the Actions column of the instance.

    4. On the Tables tab of the Instance Details tab, click the name of the data table or click Indexes in the Actions column of the data table.

  2. On the Indexes tab, find the search index that you want to delete and click Delete in the Actions column.

  3. In the Delete Search Index message, confirm the name of the index and the name of the corresponding table and click OK.

Development integration

API operation

You can call the DeleteSearchIndex operation to delete a search index.

Integration methods

You can use Tablestore SDKs or the Tablestore CLI to delete a search index.