All Products
Search
Document Center

OpenSearch:Delete data

Last Updated:Mar 31, 2026

Clearing data removes all documents from an OpenSearch application and triggers reindexing.

Warning

Cleared documents cannot be restored. Proceed with caution.

Usage notes

  • Clearing data triggers reindexing. OpenSearch creates an offline application to perform the full data clear. If incremental data is written to the instance during indexing, the offline application still captures and synchronizes that data.

  • If both an online and an offline application exist, delete the offline application before clearing data.

Note

After you configure an application and run reindexing for the first time, only an online application exists. Any data clearing or offline change operation on the online application triggers reindexing, which creates an offline application. Make all subsequent change operations on the offline application. After changes are applied and indexes are built, test in the offline application. Once the test passes, apply the changes to the online application. This approach ensures that change operations do not affect live traffic.

Clear all data

Prerequisites

Before you begin, make sure:

  • No offline application exists for the instance. If one does exist, delete it first.

  • The application name is available — you will need to type it as a confirmation.

Steps

  1. Log on to the OpenSearch console.

  2. In the upper-left corner, select the region where your instance is deployed, then select OpenSearch Industry Algorithm Edition.

  3. In the left-side navigation pane, click Instance Management.

  4. On the Instance Management page, find the target instance. In the Actions column, click the More icon, then click Clear All Data.

  5. In the Clear All Data dialog box, type the application name to confirm the operation, then click Clear. Typing the application name is a safety measure to confirm this irreversible action.

Result: Data clearing is triggered. OpenSearch creates an offline application and begins clearing full data.