Clear the cache
Technical preview
Clear indices and data streams from the shared cache for partially mounted indices.
Query parameters
-
expand_wildcards
string | array[string] Whether to expand wildcard expression to concrete indices that are open, closed or both.
-
allow_no_indices
boolean Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes
_all
string or when no indices have been specified) -
pretty
boolean -
human
boolean
POST
/_searchable_snapshots/cache/clear
curl \
--request POST http://api.example.com/_searchable_snapshots/cache/clear \
--header "Authorization: $API_KEY"
Response examples (200)
{}