All Implemented Interfaces:
IndicesRequest, IndicesRequest.Replaceable, Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest

public class UpgradeRequest extends BroadcastRequest<UpgradeRequest>
A request to upgrade one or more indices. In order to update all indices, pass an empty array or null for the indices.
See Also:
Requests.upgradeRequest(String...), IndicesAdminClient.upgrade(UpgradeRequest), UpgradeResponse
  • Constructor Details

    • UpgradeRequest

      public UpgradeRequest(... indices)
      Constructs an optimization request over one or more indices.
      Parameters:
      indices - The indices to upgrade, no indices passed means all indices will be optimized.
    • UpgradeRequest

      public UpgradeRequest(StreamInput in) throws
      Throws:
  • Method Details