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 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<ClearCacheRequest,ClearCacheResponse, ErrorResponse> Endpoint "indices.clear_cache". -
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 BooleanClear field datafields()A comma-separated list of fields to clear when using thefielddataparameter (default: all)final BooleanWhether specified concrete indices should be ignored when unavailable (missing or closed)index()A comma-separated list of index name to limit the operationstatic ClearCacheRequestfinal Booleanquery()Clear query cachesfinal Booleanrequest()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_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 -
fielddata
Clear field dataAPI name:
fielddata -
fields
A comma-separated list of fields to clear when using thefielddataparameter (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
-