WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
The clear cache API allows to clear either all caches or specific cached associated with one or more indices.
The API, by default, will clear all caches. Specific caches can be cleaned
explicitly by setting
All caches relating to a specific field(s) can also be cleared by
fields parameter with a comma delimited list of the
The clear cache API can be applied to more than one index with a single
call, or even on
_all the indices.
POST /kimchy,elasticsearch/_cache/clear POST /_cache/clear