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
Constructors Constructor Description UpgradeRequestBuilder(ElasticsearchClient client, UpgradeAction action)
-
Method Summary
Modifier and Type Method Description UpgradeRequestBuilder
setUpgradeOnlyAncientSegments(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
Methods inherited from class org.elasticsearch.action.ActionRequestBuilder
execute, execute, get, get, get, request
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UpgradeRequestBuilder
-
-
Method Details
-
setUpgradeOnlyAncientSegments
Should the upgrade only the ancient (older major version of Lucene) segments?
-