June 2017
Beginner to intermediate
404 pages
8h 22m
English
Reindex API can be used to change the index settings like increasing/decreasing the number of shards, disabling the _all field and so on. It can also be used to change the mapping of an existing field, for example, you want to change the mapping of an keyword field to date.
To change the index setting/mappings of the existing index, first create the destination index with the desired settings and use the Reindex API as shown next:
POST _reindex { "source": { "index": "source_index" }, "dest": { ...Read now
Unlock full access