This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
Force merge
Introduced 2.6
OpenSearch Dashboards allows you to perform a force merge operation on two or more indexes with Index Management.
Force merging indexes
To perform a force merge operation on two or more indexes, perform the following steps:
Under Index Management, choose Indices.
Select the indexes you want to force merge.
Choose Actions, and then choose Force merge, as shown in the following image.
Under Configure source index, specify the indexes you want to force merge.
Optionally, under Advanced settings you can to choose to Flush indices or Only expunge delete and then specify the Max number of segments to merge to as shown in the following image.
Force merging data streams
To perform a force merge operation on two or more indexes, perform the following steps:
Under Index Management, choose Data streams.
Select the data streams you want to force merge.
Choose Actions, and then choose Force merge.
Under Configure source index, specify the data streams you want to force merge.
Optionally, under Advanced settings you can to choose to Flush indices or Only expunge delete and then specify the Max number of segments to merge to as shown in the following image.