| 123456789101112131415161718192021222324252627282930313233 | [[index-modules-cache]]== CacheThere are different caching inner modules associated with an index. Theyinclude `filter` and others.[float][[filter]]=== Filter CacheThe filter cache is responsible for caching the results of filters (usedin the query). The default implementation of a filter cache (and the onerecommended to use in almost all cases) is the `node` filter cache type.[float][[node-filter]]==== Node Filter CacheThe `node` filter cache may be configured to use either a percentage ofthe total memory allocated to the process or a specific amount ofmemory. All shards present on a node share a single node cache (thatswhy its called `node`). The cache implements an LRU eviction policy:when a cache becomes full, the least recently used data is evicted tomake way for new data.The setting that allows one to control the memory size for the filtercache is `indices.cache.filter.size`, which defaults to `10%`. *Note*,this is *not* an index level setting but a node level setting (can beconfigured in the node configuration).`indices.cache.filter.size` can accept either a percentage value, like`30%`, or an exact value, like `512mb`.
 |