elasticsearch/docs/reference/modules
Stuart Tettemer 005d8f0106
Script: Deprecate script context cache (#79508)
* Script: Deprecate script context cache

Deprecate the script context cache in favor of the general cache.

Users should use the following settings:
`script.max_compilations_rate` to set the max compilation rate
  for user scripts such as filter scripts.  Certain script contexts
  that submit scripts outside of the control of the user are
  exempted from this rate limit.  Examples include runtime fields,
  ingest and watcher.

`script.cache.max_size` to set the max size of the cache.

`script.cache.expire` to set the expiration time for entries in
the cache.

Whats deprecated?
`script.max_compilations_rate: use-context`.  This special
setting value was used to turn on the script context-specific caches.

`script.context.$CONTEXT.cache_max_size`, use `script.cache.max_size`
instead.

`script.context.$CONTEXT.cache_expire`, use `script.cache.expire`
instead.

`script.context.$CONTEXT.max_compilations_rate`, use
`script.max_compilations_rate` instead.

The default cache size was increased from `100` to `3000`, which
was approximately the max cache size when using context-specific caches.

The default compilation rate limit was increased from `75/5m` to
`150/5m` to account for increasing uses of scripts.

Refs: #62899
2021-10-19 20:15:45 -05:00
..
cluster [7.x] Deprecation of transient cluster settings (#78794) (#79288) 2021-10-15 19:06:33 -04:00
discovery A typo error (#78987) (#79204) 2021-10-15 08:52:13 -04:00
indices Script: Deprecate script context cache (#79508) 2021-10-19 20:15:45 -05:00
network [7.x] Deprecation of transient cluster settings (#78794) (#79288) 2021-10-15 19:06:33 -04:00
cluster.asciidoc [DOCS] Document dynamic cluster-lvl shard alloc settings (#61338) (#61735) 2020-08-31 11:19:57 -04:00
discovery.asciidoc Expand and consolidate networking docs (#68051) 2021-02-01 13:37:29 +00:00
gateway.asciidoc [DOCS] Document dynamic cluster settings (#61760) (#61817) 2020-09-01 16:04:23 -04:00
http.asciidoc Limit count of HTTP channels with tracked stats (#77303) 2021-09-08 07:42:34 +01:00
memcached.asciidoc [DOCS] Swap [float] for [discrete] (#60134) 2020-07-23 12:42:33 -04:00
network.asciidoc [DOCS] Update remote cluster docs (#77043) (#78212) 2021-09-23 12:13:03 +02:00
node.asciidoc [DOCS] Update remote cluster docs (#77043) (#78212) 2021-09-23 12:13:03 +02:00
plugins.asciidoc [DOCS] Relocate "Plugins" page (#54974) (#57418) 2020-06-01 10:07:50 -04:00
remote-clusters-shared.asciidoc Improve docs for pre-release version compatibility (#78428) (#78432) 2021-09-29 04:59:50 -04:00
remote-clusters.asciidoc Add docs for pre-release version compatibility (#78317) (#78331) 2021-09-27 12:06:51 -04:00
threadpool.asciidoc Node level can match action (#78765) (#79344) 2021-10-18 12:59:58 +02:00
thrift.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
transport.asciidoc Indexing_data/l4 is now generally available (#78595) 2021-10-14 09:26:07 +02:00