All Products
Search
Document Center

OpenSearch:Modify an index table

Last Updated:Apr 01, 2026

When you need to change the schema of an existing index table — such as adding, updating, or removing fields — you must complete a three-stage workflow: edit the index schema and publish a new version, update the index configuration, then reindex. The index table remains queryable immediately after reindexing completes.

Prerequisites

Before you begin, ensure that you have:

  • An OpenSearch Retrieval Engine Edition application with at least one index table

  • The permissions required to modify index configurations and trigger reindexing

Edit the index schema

  1. On the O&M Management page, click Change Index Table.

    image

  2. Find the index table to modify, then click View/Modify in the Actions column.

    image

  3. Make your changes in the index_config_edit version. When done, click Save Version and publish the version. After publishing, the system generates a new version named index_config_v2. The version number increments by one with each publish.

    image

    image

  4. Click Next.

Update the index configuration

Configure the following parameters, then click Next.

image
ParameterDescription
Data Source NameThe name of the data source to use for reindexing
Index TableThe index table to update
Index Table VersionThe target version of the index table
Dictionary Configuration VersionThe version of the dictionary configuration to apply
Destination ClusterThe cluster where the reindexed data will be written

Reindex

Select a data source and click Next. Choose the option that matches your reindexing scenario.

MaxCompute data source

Select MaxCompute Data Source for Data Source Type.

image

API data source — start from empty

Select API Data Source for Data Source Type, then select Empty Data for Data Source.

image

API data source — restore from existing index

Select API Data Source for Data Source Type, then select Restore Data from Index for Data Source.

image
Important

If you select API Data Source, you must retain the data in the current full index version. For details, see Restore data from index. The timestamp configuration must meet the verification rules: you cannot set it to a point in time after the API data source was added.

Monitor reindexing progress

After reindexing starts, you are redirected to the Change History page. Track progress on the Data Source Changes tab.

image

The index table is available for online queries immediately after reindexing completes.