Class UpgradeRequestBuilder
java.lang.Object
org.opensearch.action.ActionRequestBuilder<UpgradeRequest,UpgradeResponse>
org.opensearch.action.support.broadcast.BroadcastOperationRequestBuilder<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
org.opensearch.action.admin.indices.upgrade.post.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:
-
Field Summary
Fields inherited from class org.opensearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetUpgradeOnlyAncientSegments
(boolean upgradeOnlyAncientSegments) Should the upgrade only the ancient (older major version of Lucene) segments?Methods inherited from class org.opensearch.action.support.broadcast.BroadcastOperationRequestBuilder
setIndices, setIndicesOptions
-
Constructor Details
-
UpgradeRequestBuilder
-
-
Method Details
-
setUpgradeOnlyAncientSegments
Should the upgrade only the ancient (older major version of Lucene) segments?
-