Managing Indexes
OCI Search with OpenSearch supports the OpenSearch Index State Management (ISM) plugin, which enables you to automate administrative operations that you perform on indexes.
For more information about the plugin, see OpenSearch Index State Management (ISM) plugin.
ISM Policies
To automate an administrative operation with the ISM plugin, you create an ISM policy from your cluster's OpenSearch Dashboard. The ISM policy is a JSON file that defines the the following for the index:
- State: The descriptive name for the status of the index. You have the flexibility to specify whatever name that reflects that reflects the scenario you're using the state in. For more information, see States.
- Actions: The operations for the ISM plugin to execute after the index has entered the specified state. For more information, see Actions.
- Transitions: The conditions the index must meet to move into the next state. For more information, see Transitions.
Index Rollups
You can use index rollups to periodically reduce data granularity by rolling up old data into summarized indices. Index rollups are located in the Index Management section of your cluster's OpenSearch Dashboard.
The steps to use an index rollup are:
- Create an index rollup job
- Define aggregations and metrics
- Specify schedule
- Review and create
- Search the target index
Click the preceding links to access a step-by-step walkthrough to get you started with index rollups.
Index Transforms
Index transforms let you create a different, summarized view of your data centered around certain fields, so you can visualize or analyze the data in different ways. You can work with index transforms from your cluster's OpenSearch Dashboard, under Index Management, or you can use the Transforms REST API .
Refresh Search Analyzers
You can refresh search analyzers in real time using the following API:
POST /_plugins/_refresh_search_analyzers/<index or alias or wildcard>
For more information, see Refresh search analyzer.