Clear indices and data streams from the shared cache for partially mounted indices.
Required authorization
- Index privileges:
manage - Cluster privileges:
manage
Query parameters
-
Whether to expand wildcard expression to concrete indices that are open, closed or both
Values are
all,open,closed,hidden, ornone. -
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes
_allstring or when no indices have been specified)
POST
/_searchable_snapshots/cache/clear
curl \
--request POST 'http://api.example.com/_searchable_snapshots/cache/clear'