Class RecoveryRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.RecoveryRequest

public class RecoveryRequest extends RequestBase
Returns information about ongoing and completed shard recoveries for one or more indices. For data streams, the API returns information for the stream’s backing indices.
See Also:
  • Field Details

  • Method Details

    • of

    • activeOnly

      @Nullable public final Boolean activeOnly()
      If true, the response only includes ongoing shard recoveries.

      API name: active_only

    • detailed

      @Nullable public final Boolean detailed()
      If true, the response includes detailed information about shard recoveries.

      API name: detailed

    • index

      public final List<String> index()
      Comma-separated list of data streams, indices, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indices, omit this parameter or use * or _all.

      API name: index