You can restore data from an index version to ensure data integrity.
Overview
After you import data from a data source by calling API operations and perform full indexing on the data, you can retrieve the data that is pushed from the API data source only within the previous three days. To ensure the integrity of the data pushed from the API data source, OpenSearch Retrieval Engine Edition provides the feature of restoring data from an existing full index version. This ensures that the data pushed from the API data source can be retained in the next full index version.
Procedure
On the instance details page, click Table Management in the left-side pane. On the Table Management page, find the table that you want to manage, click the More icon in the Actions column, and then select Restore Data from Index.
In the Restore Data from Index panel, select the index version from which you want to restore data and click OK.
In the message that appears, click OK.
View the restoration progress on the Change History page in the Extended Features module.
After the finite-state machine (FSM) process in the data source change process is complete, perform operations that trigger full indexing. For example, you can modify an index table and add a custom intervention entry. To retain all data in the earlier full index version, you need to select Restore Data from Index as a data source.
Usage notes
If the task that is used to restore data from an index version takes more than three days, the data of the index version generated by the task may be lost. In this case, contact Alibaba Cloud after-sales service
You can restore data from an index version only for an API data source.
Only API data sources for which full indexing is performed at least once are displayed.
You can select only one data source to restore data at a time.
To ensure the integrity of data restored from an index version, make sure that all data fields are indexed. This indicates that all data fields are configured as search result fields. When data is restored from the index version, fields that are not specified as search result fields are cleared.