Class StatusResponseBase.AbstractBuilder<BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>>

All Implemented Interfaces:
WithJson<BuilderT>
Direct Known Subclasses:
AsyncSearchStatusResponse.Builder
Enclosing class:
StatusResponseBase

public abstract static class StatusResponseBase.AbstractBuilder<BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>> extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • shards

      public final BuilderT shards(ShardStatistics value)
      Required - Indicates how many shards have run the query so far.

      API name: _shards

    • shards

      Required - Indicates how many shards have run the query so far.

      API name: _shards

    • clusters

      public final BuilderT clusters(@Nullable ClusterStatistics value)
      Metadata about clusters involved in the cross-cluster search. Not shown for local-only searches.

      API name: _clusters

    • clusters

      Metadata about clusters involved in the cross-cluster search. Not shown for local-only searches.

      API name: _clusters

    • completionStatus

      public final BuilderT completionStatus(@Nullable Integer value)
      If the async search completed, this field shows the status code of the search. For example, 200 indicates that the async search was successfully completed. 503 indicates that the async search was completed with an error.

      API name: completion_status