Class ForcemergeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ForcemergeRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class ForcemergeRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForcemergeRequest.Builder
Builder forForcemergeRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<ForcemergeRequest,ForcemergeResponse,ElasticsearchError>
ENDPOINT
Endpoint "indices.forcemerge
". -
Constructor Summary
Constructors Constructor Description ForcemergeRequest(ForcemergeRequest.Builder builder)
ForcemergeRequest(java.util.function.Function<ForcemergeRequest.Builder,ForcemergeRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowNoIndices()
Whether to ignore if a wildcard indices expression resolves into no concrete indices.java.util.List<ExpandWildcardOptions>
expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.java.lang.Boolean
flush()
Specify whether the index should be flushed after performing the operation (default: true)java.lang.Boolean
ignoreUnavailable()
Whether specified concrete indices should be ignored when unavailable (missing or closed)java.util.List<java.lang.String>
index()
A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesjava.lang.Long
maxNumSegments()
The number of segments the index should be merged into (default: dynamic)java.lang.Boolean
onlyExpungeDeletes()
Specify whether the operation should only expunge deleted documentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "indices.forcemerge
".
-
-
Constructor Details
-
ForcemergeRequest
-
ForcemergeRequest
public ForcemergeRequest(java.util.function.Function<ForcemergeRequest.Builder,ForcemergeRequest.Builder> fn)
-
-
Method Details
-
index
@Nullable public java.util.List<java.lang.String> index()A comma-separated list of index names; use_all
or empty string to perform the operation on all indicesAPI name:
index
-
allowNoIndices
@Nullable public java.lang.Boolean 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
@Nullable public java.lang.Boolean flush()Specify whether the index should be flushed after performing the operation (default: true)API name:
flush
-
maxNumSegments
@Nullable public java.lang.Long maxNumSegments()The number of segments the index should be merged into (default: dynamic)API name:
max_num_segments
-
onlyExpungeDeletes
@Nullable public java.lang.Boolean onlyExpungeDeletes()Specify whether the operation should only expunge deleted documentsAPI name:
only_expunge_deletes
-