Class UpgradeRequestBuilder


@PublicApi(since="1.0.0") public class UpgradeRequestBuilder extends BroadcastOperationRequestBuilder<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
A request to upgrade one or more indices. In order to optimize on all the indices, pass an empty array or null for the indices.
Opensearch.api:
  • Constructor Details

  • Method Details

    • setUpgradeOnlyAncientSegments

      public UpgradeRequestBuilder setUpgradeOnlyAncientSegments(boolean upgradeOnlyAncientSegments)
      Should the upgrade only the ancient (older major version of Lucene) segments?