Cloning an index for History Mass Sync
Before you set up the integration with Order Service, many orders
might have been copied to order history tables. To have a single source of visibility, save these
orders in Order Search.
You can create indices for the history time period to store historical orders by passing the
nameSuffix optional parameter to the cloneSearchIndex API.
Ensure to set the property,
use_index_name_in_request=true so that an index
is created by suffixing the nameSuffix value that you passed to the index ID. For
example, for order index, the index name becomes order-<nameSuffix>. Note:
For more information about the default index name format, see Cloning an index. After completing the initial historical orders
migration, reset the '-' is appended by default. No need to pass it in nameSuffix.
use_index_name_in_request property.