Class UpgradeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.UpgradeRequest
DEPRECATED Upgrades to the current version of Lucene.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<UpgradeRequest,
UpgradeResponse, ErrorResponse> Endpoint "indices.upgrade
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Whether to ignore if a wildcard indices expression resolves into no concrete indices.final List<ExpandWildcard>
Whether to expand wildcard expression to concrete indices that are open, closed or both.final Boolean
Whether specified concrete indices should be ignored when unavailable (missing or closed)final String
index()
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesstatic UpgradeRequest
final Boolean
If true, only ancient (an older Lucene major release) segments will be upgradedfinal Boolean
Specify whether the request should block until the all segments are upgraded (default: false)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.upgrade
".
-
-
Method Details
-
of
-
allowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_all
string or when no indices have been specified)API name:
allow_no_indices
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
index
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesAPI name:
index
-
onlyAncientSegments
If true, only ancient (an older Lucene major release) segments will be upgradedAPI name:
only_ancient_segments
-
waitForCompletion
Specify whether the request should block until the all segments are upgraded (default: false)API name:
wait_for_completion
-