Class ClearCacheRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ClearCacheRequest
Clears all or specific caches for 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<ClearCacheRequest,
ClearCacheResponse, ErrorResponse> Endpoint "indices.clear_cache
". -
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
Clear field datafields()
A comma-separated list of fields to clear when using thefielddata
parameter (default: all)final Boolean
Whether specified concrete indices should be ignored when unavailable (missing or closed)index()
A comma-separated list of index name to limit the operationstatic ClearCacheRequest
final Boolean
query()
Clear query cachesfinal Boolean
request()
Clear request cacheMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.clear_cache
".
-
-
Method Details
-
of
public static ClearCacheRequest of(Function<ClearCacheRequest.Builder, ObjectBuilder<ClearCacheRequest>> 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
-
fielddata
Clear field dataAPI name:
fielddata
-
fields
A comma-separated list of fields to clear when using thefielddata
parameter (default: all)API name:
fields
-
index
A comma-separated list of index name to limit the operationAPI name:
index
-
query
Clear query cachesAPI name:
query
-
request
Clear request cacheAPI name:
request
-