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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ForcemergeRequest,ForcemergeResponse, ErrorResponse> Endpoint "indices.forcemerge". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether 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 Booleanflush()Specify whether the index should be flushed after performing the operation (default: true)final BooleanWhether specified concrete indices should be ignored when unavailable (missing or closed)index()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesfinal LongThe number of segments the index should be merged into (default: dynamic)static ForcemergeRequestfinal BooleanSpecify whether the operation should only expunge deleted documentsMethods 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_allstring 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_allor 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
-