Cloning an index

An important part of good Elasticsearch hygiene is the indexing strategy that helps to avoid massive indices, which holds too much of your data.

Order Search enables you to clone an index. By using the cloneSearchIndex API, you can copy mappings and settings from an existing writable index and clone a new index for a specific time period for better management of the indices. The newly created index is marked as the writable index and the existing writable index is marked as read-only. You can create or clone only one index within a month. The name of the index is generated by appending the current year and month in the -YYYYMM format to the index ID (order) as a suffix. For example, order-202109.