Reindex legacy backing indices
Technical preview
Reindex all legacy backing indices for a data stream. This operation occurs in a persistent task. The persistent task ID is returned immediately and the reindexing work is completed in that task.
POST
/_migration/reindex
curl \
--request POST http://api.example.com/_migration/reindex \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"mode":"upgrade","source":{"index":"string"}}'
Request examples
{
"mode": "upgrade",
"source": {
"index": "string"
}
}
Response examples (200)
{
"acknowledged": true
}