OpenSearch/rest-api-spec/api
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
..
bulk.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.allocation.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.count.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.fielddata.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.help.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.indices.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.master.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.nodes.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.plugins.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cat.thread_pool.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
clear_scroll.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.health.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.pending_tasks.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.reroute.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
cluster.state.json Cluster state REST api: routing_nodes as an independent metric option 2015-04-08 15:35:11 +02:00
cluster.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
count.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
count_percolate.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
explain.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
field_stats.json Added field stats api 2015-04-23 08:52:34 +02:00
get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_source.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
index.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.analyze.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
indices.clear_cache.json Core: Cut over to the Lucene filter cache. 2015-05-04 09:02:15 +02:00
indices.close.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.delete_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.exists_type.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.flush.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_field_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_upgrade.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.get_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.open.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.optimize.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_alias.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_mapping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_settings.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.put_warmer.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.recovery.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.refresh.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.segments.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.update_aliases.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
indices.upgrade.json Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
indices.validate_query.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
mget.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
mlt.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
mpercolate.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
msearch.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
mtermvectors.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
nodes.hot_threads.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.info.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
nodes.stats.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
percolate.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
ping.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_script.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
put_template.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
scroll.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
search.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
search_exists.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
search_shards.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
search_template.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
snapshot.create.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.create_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.delete_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.get_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.restore.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.status.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
snapshot.verify_repository.json [API] changed all the links in json specs to the new site 2015-03-24 17:30:32 +01:00
suggest.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
termvectors.json [API] remove global parameter source from individual APIs 2015-04-29 14:01:47 +02:00
update.json Make sure that the parent option on the update request only is delgated to upsert index request. 2015-03-28 08:53:11 +01:00