OpenSearch/docs/reference
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
..
analysis Docs: Fixed pattern-capture token filter example 2015-04-25 19:27:55 +02:00
cat Update indices.asciidoc 2015-04-04 16:50:04 +02:00
cluster Core: Cut over to the Lucene filter cache. 2015-05-04 09:02:15 +02:00
docs Term Vectors: terms filtering 2015-04-14 19:11:09 +02:00
images [DOCS] Fix movavg images and naming 2015-04-29 13:33:54 -04:00
index-modules Mappings: Remove file based default mappings 2015-04-30 13:50:35 -07:00
indices Docs: Updated the experimental annotations in the docs as follows: 2015-04-26 18:49:15 +02:00
mapping Mappings: Remove docs for type level analyzer defaults 2015-04-30 13:57:55 -07:00
migration Core: Cut over to the Lucene filter cache. 2015-05-04 09:02:15 +02:00
modules Docs: Updated elasticsearch.org links to elastic.co 2015-05-01 20:46:12 +02:00
query-dsl Core: Cut over to the Lucene filter cache. 2015-05-04 09:02:15 +02:00
search Aggs: Change the default `min_doc_count` to 0 on histograms. 2015-04-30 15:48:23 +02:00
setup Docs: Updated elasticsearch.org links to elastic.co 2015-05-01 20:46:12 +02:00
testing [DOCS] added instructions on how to write parameterized tests 2015-03-19 12:43:51 +01:00
analysis.asciidoc Add more anchor links to documentation 2013-09-30 13:13:16 -06:00
api-conventions.asciidoc Docs: fix build. 2015-04-10 17:38:36 +02:00
cat.asciidoc [TEST] Add missing docs and tests for '_cat/segments' 2015-01-09 12:29:11 +01:00
cluster.asciidoc Remove `_shutdown` API 2015-04-27 17:19:36 +02:00
docs.asciidoc Bulk UDP: Removal. 2014-09-11 09:52:09 +02:00
getting-started.asciidoc Docs: Updated elasticsearch.org links to elastic.co 2015-05-01 20:46:12 +02:00
glossary.asciidoc Migrated documentation into the main repo 2013-08-29 01:24:34 +02:00
index-modules.asciidoc Docs: Updated the experimental annotations in the docs as follows: 2015-04-26 18:49:15 +02:00
index.asciidoc Docs: Updated current version 2015-04-27 13:45:35 +02:00
indices.asciidoc Mappings: Remove delete mapping API 2015-03-24 09:46:02 -07:00
mapping.asciidoc Mappings: Remove file based default mappings 2015-04-30 13:50:35 -07:00
modules.asciidoc Remove references to the thrift and memcached transport plugins 2015-03-19 20:49:58 +01:00
query-dsl.asciidoc Facets: Removal from master. 2014-08-21 10:34:39 +02:00
search.asciidoc Added field stats api 2015-04-23 08:52:34 +02:00
setup.asciidoc Docs: Updated elasticsearch.org links to elastic.co 2015-05-01 20:46:12 +02:00
testing.asciidoc [DOCS] Test framework documentation 2013-12-02 18:01:45 +01:00