Create an index from scratch
The simplest way to create an index is to provide the index name and the field mappings.indexClass parameter.
Create an index cloned from another index
You can create an index cloned from an existing index by simply providing information related to the source index.mappings is optional when cloning an index.
You can pass mappings object only with additional mappings based on the original index’s mappings.
Deleting or modifying the original index’s mappings is not allowed.