Class RefreshRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.RefreshRequest
public class RefreshRequest extends RequestBase
Performs the refresh operation in one or more indices.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefreshRequest.Builder
Builder forRefreshRequest
.Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<RefreshRequest,RefreshResponse,ErrorResponse>
_ENDPOINT
Endpoint "indices.refresh
". -
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<ExpandWildcard>
expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.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 indicesstatic RefreshRequest
of(java.util.function.Function<RefreshRequest.Builder,ObjectBuilder<RefreshRequest>> fn)
-
Field Details
-
_ENDPOINT
Endpoint "indices.refresh
".
-
-
Method Details
-
of
public static RefreshRequest of(java.util.function.Function<RefreshRequest.Builder,ObjectBuilder<RefreshRequest>> fn) -
allowNoIndices
@Nullable public final 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
-
ignoreUnavailable
@Nullable public final java.lang.Boolean ignoreUnavailable()Whether specified concrete indices should be ignored when unavailable (missing or closed)API name:
ignore_unavailable
-
index
public final 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
-