WARNING: Version 2.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 query cache is responsible for caching the results of queries. There is one queries cache per node that is shared by all shards. The cache implements an LRU eviction policy: when a cache becomes full, the least recently used data is evicted to make way for new data.
The query cache only caches queries which are being used in a filter context.
The following setting is static and must be configured on every data node in the cluster:
Controls the memory size for the filter cache , defaults to
10%. Accepts either a percentage value, like
5%, or an exact value, like