Start or resume reindex API

[experimental] This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. Start a new reindex or resume a paused reindex.

Start a new reindex or resume a paused reindex.

Request

POST <kibana host>:<port>/api/upgrade_assistant/reindex/myIndex

Response code

200

Indicates a successful call.

Example

The API returns the following:

  1. {
  2. "indexName": ".ml-state",
  3. "newIndexName": ".reindexed-v7-ml-state",
  4. "status": 0,
  5. "lastCompletedStep": 0,
  6. "reindexTaskId": null,
  7. "reindexTaskPercComplete": null,
  8. "errorMessage": null
  9. }

The name of the new index.

The reindex status. For more information, refer to Status codes.

The last successfully completed step of the reindex. For more information, refer to Step codes.

The task ID of the reindex task in Elasticsearch. Appears when the reindexing starts.

The progress of the reindexing task in Elasticsearch. Appears in decimal form, from 0 to 1.

The error that caused the reindex to fail, if it failed.

Most Popular