| Package | Description |
|---|---|
| org.elasticsearch.action.admin.indices.upgrade.post | |
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| org.elasticsearch.index.shard |
| Modifier and Type | Method and Description |
|---|---|
protected UpgradeRequest |
TransportUpgradeAction.readRequestFrom(StreamInput in) |
UpgradeRequest |
UpgradeRequest.upgradeOnlyAncientSegments(boolean upgradeOnlyAncientSegments)
|
UpgradeRequest |
ShardUpgradeRequest.upgradeRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
TransportUpgradeAction.checkGlobalBlock(ClusterState state,
UpgradeRequest request) |
protected ClusterBlockException |
TransportUpgradeAction.checkRequestBlock(ClusterState state,
UpgradeRequest request,
String[] concreteIndices) |
protected void |
TransportUpgradeAction.doExecute(Task task,
UpgradeRequest request,
ActionListener<UpgradeResponse> listener) |
protected UpgradeResponse |
TransportUpgradeAction.newResponse(UpgradeRequest request,
int totalShards,
int successfulShards,
int failedShards,
List<org.elasticsearch.action.admin.indices.upgrade.post.ShardUpgradeResult> shardUpgradeResults,
List<ShardOperationFailedException> shardFailures,
ClusterState clusterState) |
protected org.elasticsearch.action.admin.indices.upgrade.post.ShardUpgradeResult |
TransportUpgradeAction.shardOperation(UpgradeRequest request,
ShardRouting shardRouting) |
protected ShardsIterator |
TransportUpgradeAction.shards(ClusterState clusterState,
UpgradeRequest request,
String[] concreteIndices)
The upgrade request works against *all* shards.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeRequest |
Requests.upgradeRequest(String... indices)
Creates an upgrade request.
|
| Modifier and Type | Method and Description |
|---|---|
ActionFuture<UpgradeResponse> |
IndicesAdminClient.upgrade(UpgradeRequest request)
Explicitly upgrade one or more indices
|
void |
IndicesAdminClient.upgrade(UpgradeRequest request,
ActionListener<UpgradeResponse> listener)
Explicitly upgrade one or more indices
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.util.Version |
IndexShard.upgrade(UpgradeRequest upgrade)
Upgrades the shard to the current version of Lucene and returns the minimum segment version
|
Copyright © 2009–2017. All rights reserved.