Class UpgradeRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
org.elasticsearch.action.admin.indices.upgrade.post.UpgradeRequestBuilder
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.-
Field Summary
Fields inherited from class org.elasticsearch.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.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder
setIndices, setIndicesOptions, setTimeout
-
Constructor Details
-
UpgradeRequestBuilder
-
-
Method Details
-
setUpgradeOnlyAncientSegments
Should the upgrade only the ancient (older major version of Lucene) segments?
-