OpenSearch/docs/reference/cluster
Adrien Grand b72f27a410 Core: Cut over to the Lucene filter cache.
This removes Elasticsearch's filter cache and uses Lucene's instead. It has some
implications:
 - custom cache keys (`_cache_key`) are unsupported
 - decisions are made internally and can't be overridden by users ('_cache`)
 - not only filters can be cached but also all queries that do not need scores
 - parent/child queries can now be cached, however cached entries are only
   valid for the current top-level reader so in practice it will likely only
   be used on read-only indices
 - the cache deduplicates filters, which plays nicer with large keys (eg. `terms`)
 - better stats: we already had ram usage and evictions, but now also hit count,
   miss count, lookup count, number of cached doc id sets and current number of
   doc id sets in the cache
 - dynamically changing the filter cache size is not supported anymore

Internally, an important change is that it removes the NoCacheFilter infrastructure
in favour of making Query.rewrite specializing the query for the current reader so
that it will only be cached on this reader (look for IndexCacheableQuery).

Note that consuming filters with the query API (createWeight/scorer) instead of
the filter API (getDocIdSet) is important for parent/child queries because
otherwise a QueryWrapperFilter(ParentQuery) would run the wrapped query per
segment while relations might be cross segments.
2015-05-04 09:02:15 +02:00
..
health.asciidoc Docs: Updated version annotations in master 2015-04-09 14:50:11 +02:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc Remove plugin isolation feature for a future version 2014-04-09 17:28:11 +03:00
nodes-stats.asciidoc expose current CMS throttle in merge stats; fix tests, docs; also log per-merge stop/throttle/rate 2015-01-11 05:52:43 -05:00
pending.asciidoc [DOCS] Doc'ed cluster pending tasks 2013-11-29 08:21:26 +01:00
reroute.asciidoc Add `explain` flag support to the reroute API 2014-02-27 09:48:51 -07:00
state.asciidoc Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
stats.asciidoc put back fixed throttling, but off by default 2015-01-14 05:35:09 -05:00
update-settings.asciidoc Core: Cut over to the Lucene filter cache. 2015-05-04 09:02:15 +02:00