Class GetReindexRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.GetReindexRequest

public class GetReindexRequest extends RequestBase
Get the status and progress of a specific reindex task.

This API follows reindex tasks across node-shutdown relocations, so callers can keep using the original task ID throughout the lifetime of the operation. Returned task IDs and timings reflect the original task, not its relocated successor. Relocated task IDs are also supported. They are followed transparently and return the task ID and timings of the original task.

When the task ID cannot be resolved, the API returns the response below with a 404 status code. This response is used whether the ID is unknown, refers to a non-reindex task, refers to a sliced child subtask, or refers to a task whose node left the cluster with no stored result (e.g. a non-graceful shutdown).

 {
   "error": {
     "type": "resource_not_found_exception",
     "reason": "Reindex operation [r1A2WoRbTwKZ516z6NEs5A:36619] not found"
   },
   "status": 404
 }
 
 
See Also: