All Products
Search
Document Center

Tablestore:Index management

Last Updated:Feb 11, 2025

This topic describes the management features of search indexes and the related operations. For example, you can create a search index, query search indexes, and specify the time to live (TTL) for a search index.

Operation

Description

Create a search index

You can create a search index for a data table. When you create a search index for a data table, you must specify the name of the data table, the name of the search index, and the schema information of the search index.

Query search indexes

You can query all search indexes that are created for a data table.

Query the description of a search index

You can query the description of a search index, such as the field information and the presorting settings of the search index.

Delete a search index

You can delete a search index that is created for a data table.

Specify the TTL of a search index

TTL is an attribute of search indexes that specifies the retention period of data in search indexes. If data in a search index is retained for a period of time that exceeds the TTL value, Tablestore automatically deletes the data to free up storage space and reduce costs.

Dynamically modify the schema of a search index

You can dynamically modify the schema of a search index to add, update, or remove index columns in the search index or change the routing key and presorting method of the search index.