Class ForcemergeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ForcemergeRequest
Performs the force merge operation on one or more indices.
- 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<ForcemergeRequest,
ForcemergeResponse, ErrorResponse> Endpoint "indices.forcemerge
". -
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
flush()
Specify whether the index should be flushed after performing the operation (default: true)final Boolean
Whether specified concrete indices should be ignored when unavailable (missing or closed)index()
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesfinal Long
The number of segments the index should be merged into (default: dynamic)static ForcemergeRequest
final Boolean
Specify whether the operation should only expunge deleted documentsfinal Boolean
Should the request wait until the force merge is completed.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.forcemerge
".
-
-
Method Details
-
of
public static ForcemergeRequest of(Function<ForcemergeRequest.Builder, ObjectBuilder<ForcemergeRequest>> fn) -
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
-
flush
Specify whether the index should be flushed after performing the operation (default: true)API name:
flush
-
index
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesAPI name:
index
-
maxNumSegments
The number of segments the index should be merged into (default: dynamic)API name:
max_num_segments
-
onlyExpungeDeletes
Specify whether the operation should only expunge deleted documentsAPI name:
only_expunge_deletes
-
waitForCompletion
Should the request wait until the force merge is completed.API name:
wait_for_completion
-