All Products
Search
Document Center

Perform offline changes

Last Updated: Sep 09, 2021

To modify the schema of an application, such as creating or deleting fields, modifying or creating indexes, and creating or deleting attributes, or change the data source of the application, you can perform offline changes on the application details page.

Procedure

1.Log on to the OpenSearch console. On the Applications page, find the application for which you want to modify the schema or change the data source, and then click Details in the Actions column.

1

2.On the Online Application tab of the Application Details page, click Offline Change.

2

3.On the Modify Application page, modify the schema of the application as required:

    • Edit fields.

    3
    • Edit indexes or attributes.

    4
    • Edit the data source and modify the mapping.

    5

4.Modify the sorting of search results.

6

5.Modify query analysis.

7

6.After the configurations are modified, specify whether to synchronize incremental data to the offline version that is created and whether to automatically publish the offline version.

001

  • Assume that you choose not to synchronize incremental data but to push full data to the offline version. When the offline version is being created, the incremental data that is pushed to the online version is not synchronized to the offline version.

  • Assume that you choose not to automatically publish the offline version after it is created. To manually publish the offline version later, click Publish on the Offline Application tab of the Application Details page.

002

Notes

  1. If you have only an online version of an application, when you click Offline Change on the Offline Application tab of the Application Details page, the Modify Application page appears. After an offline version is created, the online version and the offline version coexist.

  2. If you have both an online version and an offline version of an application, after you click Offline Change on the Offline Application tab of the Application Details page, the Offline Change page appears. On the Offline Change page, you can view the details of the offline version. To go to the Modify Application page, click Configure. After you confirm the modifications, the previous offline version is deleted, and a new offline version is created.

  3. If you have both an online version and an offline version of an application, when you perform offline changes on the application, the changes are made to the offline version. If you want to perform changes on the online version, you must delete the offline version.

  4. If the online version of an application is in the Invalid state, you must delete the application and reconfigure the application.