All Products
Search
Document Center

OpenSearch:Clear data

Last Updated:Feb 02, 2023

OpenSearch allows you to clear data. In the OpenSearch console, you can manually clear application documents and expired documents. You can also enable automatic clearing of expired documents.

Note:

  • When you clear data or expired documents, reindexing is triggered.

  • Clearing data means clearing all the documents of an application.

  • When both online and offline applications exist, you must delete offline applications before you can clear data.

  • To ensure that an instance provides services normally, an offline application is generated when data is cleared. The offline application clears full data. If data is written into the instance as incremental data during the indexing process of the offline application, the offline application still synchronizes the incremental data.

Procedure

Log on to the OpenSearch console. On the Instance Management page, find the application whose data you want to clear, click the More icon in the Actions column, and then select Clear All Data. In the Clear All Data dialog box, enter the name of the application and click Clear. Data clearing triggers reindexing. In this case, an offline application is created.

imageimage