All Products
Search
Document Center

OpenSearch:Modify Offline Application

Last Updated:Feb 03, 2023

To change the data source of the application, or modify the schema of an application, such as creating or deleting fields, modifying or creating indexes, creating or deleting attribute fields, and creating or deleting default display fields, you can perform the Modify Offline Application operation on the application details page.

Procedure

1. Access the Instance Management page in the OpenSearch Industry Algorithm Edition console. Find the desired application instance and click Details in the Actions column.

image

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

image

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

    • Edit fields.

image
Note
  • You can add tables only for applications of Industry Algorithm Edition. You can only add non-partitioned tables for applications of the standard type.

    • Edit indexes, attribute fields, or default display fields.

image
    • Edit the data source and modify the mapping.

image

4. Modify the sorting of search results.

image5. Modify the query analysis.

image

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.

image
  • You may determine not to synchronize incremental data but to push full data by synchronizing the data source or calling API operations to the offline application. When the offline application is being created, the incremental data that is pushed to the online application by calling API operations cannot be synchronized to the offline application.

  • You may determine not to automatically publish the modified offline application but to manually publish it to online environments on the Offline Application tab of the Application Details page. In this case, click Publish on the Offline Application tab of the Application Details page to manually publish the offline application.

image

Note:

  1. If you have only an online version of an application, when you click Modify Offline Application 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 Modify Offline Application on the Offline Application tab of the Application Details page, the Modify Offline Application page appears. On the Modify Offline Application 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 the Modify Offline Application operation 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.