Clear cache APIedit

This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.

Clear the cache of searchable snapshots.


POST /_searchable_snapshots/cache/clear

POST /<target>/_searchable_snapshots/cache/clear


If the Elasticsearch security features are enabled, you must have the manage cluster privilege and the manage index privilege for any included indices to use this API. For more information, see Security privileges.


Path parametersedit

(Optional, string) A comma-separated list of data streams and indices for which the searchable snapshots cache must be cleared.


Clears the cache of the index docs:

POST /docs/_searchable_snapshots/cache/clear