public class UpgradeRequestBuilder extends BroadcastOperationRequestBuilder<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
action, client, request
Constructor and Description |
---|
UpgradeRequestBuilder(ElasticsearchClient client,
UpgradeAction action) |
Modifier and Type | Method and Description |
---|---|
UpgradeRequestBuilder |
setUpgradeOnlyAncientSegments(boolean upgradeOnlyAncientSegments)
Should the upgrade only the ancient (older major version of Lucene) segments?
|
setIndices, setIndicesOptions
beforeExecute, execute, execute, get, get, get, request
public UpgradeRequestBuilder(ElasticsearchClient client, UpgradeAction action)
public UpgradeRequestBuilder setUpgradeOnlyAncientSegments(boolean upgradeOnlyAncientSegments)