Index operations
Index operations APIs provide advanced functionality for maintaining and optimizing indexes in your OpenSearch cluster. These operations help you manage index performance, data organization, and cluster efficiency.
Available APIs
OpenSearch supports the following index operations APIs.
| API | Description |
|---|---|
| Clear index cache | Clears the cache associated with one or more indexes. |
| Clone index | Clones an existing index. |
| Flush | Flushes one or more indexes. |
| Force merge | Forces merge on one or more indexes. |
| Index recovery | Returns information about ongoing and completed shard recoveries. |
| Refresh | Refreshes one or more indexes. |
| Rollover | Rolls over an index when it meets certain conditions. |
| Scale | Scales the number of replicas for one or more indexes. |
| Index segments | Returns segment information for one or more indexes. |
| Index shard stores | Returns information about shard copies and their storage locations. |
| Shrink index | Shrinks an existing index. |
| Split | Splits an existing index. |
| Index stats | Returns statistics for one or more indexes. |