IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Reindex in place
editReindex in place
editTo manually reindex your old indices with the reindex
API:
- Create a new index and copy the mappings and settings from the old index.
-
Set the
refresh_interval
to-1
and thenumber_of_replicas
to0
for efficient reindexing. - Reindex all documents from the old index into the new index using the reindex API.
-
Reset the
refresh_interval
andnumber_of_replicas
to the values used in the old index. -
Wait for the index status to change to
green
. -
In a single update aliases request:
- Delete the old index.
- Add an alias with the old index name to the new index.
- Add any aliases that existed on the old index to the new index.