Start or resume reindexing
Technical Preview
Start a new reindex or resume a paused reindex. The following steps are performed during a reindex task:
- Set the index to read-only.
- Create a new index.
- Reindex documents into the new index.
- Create an index alias for the new index.
- Delete the old index.
Path parameters
-
index
string Required The name of the index to reindex.
POST
/api/upgrade_assistant/reindex/{index}
curl \
--request POST http://localhost:5622/api/upgrade_assistant/reindex/{index} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"indexName": ".ml-state",
"newIndexName": ".reindexed-v7-ml-state",
"status": 0,
"lastCompletedStep": 0,
"reindexTaskId": null,
"reindexTaskPercComplete": null,
"errorMessage": null
}