All Products
Search
Document Center

Tablestore:Index management

Last Updated:Feb 11, 2025

This topic describes the search index management operations supported by Tablestore SDK for Python. For example, you can use Tablestore SDK for Python to 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.

List search indexes

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

Update the configurations of a search index

You can update the configuration information of a search index, such as the TTL.

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.