elasticsearch/docs/reference
Stuart Tettemer 808b70d2f9
Script: Restore the scripting general cache (#79453)
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.

System script contexts can now opt-out of compilation rate limiting
using a flag rather than a sentinel rate limit value.

7.16: Script: Deprecate script context cache #79508
Refs: #62899

7.16: Script: Opt-out system contexts from script compilation rate limit #79459
Refs: #62899
2021-10-21 07:57:27 -05:00
..
aggregations Fix rate agg with custom _doc_count (#79346) 2021-10-19 13:25:54 +03:00
analysis change a typo in first letter of a user query (#76394) (#76450) 2021-08-12 14:28:51 -04:00
autoscaling Autoscale frozen tier into existence (#73435) 2021-06-22 13:21:04 +02:00
cat Update ThreadPoolTypes (#78882) 2021-10-13 13:42:14 -04:00
ccr Add docs for pre-release version compatibility (#78317) 2021-09-27 16:56:35 +01:00
cluster Use query param instead of a system property for opting in for new cluster health response code (#79351) 2021-10-18 22:43:59 +02:00
commands [DOCS] Add has-passwd parameter (#77594) (#79064) 2021-10-13 09:26:24 -04:00
data-management Inject migrate action regardless of allocate action (#79090) 2021-10-15 17:12:26 -04:00
data-streams [DOCS] Fix cluster update settings refs (#79580) 2021-10-20 13:16:35 -04:00
docs Add reference to PHP client on Bulk API page (#78558) (#78651) 2021-10-04 17:42:42 -04:00
eql [DOCS] Fix cluster update settings refs (#79580) 2021-10-20 13:16:35 -04:00
features/apis Make feature reset API response more informative (#71240) 2021-04-27 13:47:10 -04:00
fleet Add alias support to fleet search API (#79285) 2021-10-15 15:32:19 -06:00
graph [DOCS] Fix API titles (#67475) 2021-01-13 15:15:37 -05:00
high-availability Update cluster-design.asciidoc (#79175) (#79189) 2021-10-14 15:25:44 -04:00
how-to [DOCS] Fix cluster update settings refs (#79580) 2021-10-20 13:16:35 -04:00
ilm Inject migrate action regardless of allocate action (#79090) 2021-10-15 17:12:26 -04:00
images [DOCS] Update ingest node pipeline refs (#78770) 2021-10-12 08:18:24 -04:00
index-modules [DOCS] Fix typo (#75635) (#75705) 2021-07-26 18:05:22 -04:00
indices Update question: index recovery (#78881) 2021-10-14 11:03:53 -04:00
ingest [DOCS] Fix cluster update settings refs (#79580) 2021-10-20 13:16:35 -04:00
licensing document accept_enterprise parameter (#79012) (#79256) 2021-10-15 10:43:02 -04:00
mapping [DOCS] Fix typos in flattened field type docs 2021-10-05 14:15:07 -04:00
migration Throw a RepositoryConflictException when trying to put or delete a repository in use (#56070) 2021-10-21 13:16:36 +02:00
ml [DOCS] Fixes indentation issue in GET trained models API docs. (#79347) 2021-10-18 12:27:24 +02:00
modules Script: Restore the scripting general cache (#79453) 2021-10-21 07:57:27 -05:00
monitoring Deprecate Monitoring Settings (#79499) 2021-10-20 01:15:44 -04:00
query-dsl [DOCS] Add script note to nested query docs (#77431) 2021-10-05 10:32:20 -04:00
release-notes 8.0.0-alpha2 release notes (#77821) 2021-09-15 19:40:46 -05:00
repositories-metering-api [DOCS] Fix name of cluster_version parameter (#69615) 2021-03-01 08:54:47 -05:00
rest-api [Transform] Add _meta field to TransformConfig (#79003) 2021-10-15 08:12:03 +02:00
rollup Fix privileges for GetRollupIndexCapabilities API (#75614) 2021-07-29 11:57:42 +10:00
scripting Script: Restore the scripting general cache (#79453) 2021-10-21 07:57:27 -05:00
search Update search-vector-tile-api.asciidoc 2021-10-20 09:21:51 -04:00
searchable-snapshots Index prefixes for searchable snapshots (#78474) 2021-10-11 17:08:09 -07:00
settings Update monitoring-settings.asciidoc (#78896) (#79169) 2021-10-14 13:10:12 -04:00
setup Deprecation of transient cluster settings (#78794) 2021-10-15 13:00:52 -04:00
shutdown/apis Add node REPLACE shutdown implementation (#76247) 2021-10-07 12:07:46 -04:00
slm [DOCS] Fix SLM status response (#78584) 2021-10-04 09:41:17 -04:00
snapshot-restore [DOCS] Fix cluster update settings refs (#79580) 2021-10-20 13:16:35 -04:00
sql Mention scoring characteristics (#78965) 2021-10-12 12:11:57 +03:00
tab-widgets Validate that snapshot repository exists for ILM policies at creation/update time (#78468) 2021-10-04 15:19:10 -04:00
text-structure/apis [ML] [DOCS] update find-structure reference docs (#67586) 2021-01-15 12:19:38 -05:00
transform [DOCS] Drafts docs for Upgrade Transforms API (#79139) 2021-10-19 16:03:54 +02:00
upgrade Adding upgrade by tier in rolling_upgrade doc (#77491) 2021-10-21 21:56:45 +11:00
vectors Add access to dense_vector values (#71313) 2021-04-19 08:02:05 -04:00
aggregations.asciidoc Convert bucket aggs docs to runtime fields (#71202) 2021-04-02 12:12:06 -04:00
alias.asciidoc [DOCS] Fix default for is_write_index (#77006) (#77362) 2021-09-07 11:34:53 -04:00
analysis.asciidoc [DOCS] Fix Lucene's stop words links (#70405) 2021-03-16 17:06:12 -04:00
api-conventions.asciidoc [DOCS] Adds information about version compatibility headers (#77096) 2021-09-03 14:33:23 -07:00
cat.asciidoc [DOCS] Remove unneeded escapes 2021-04-26 12:14:45 -04:00
cluster.asciidoc [DOCS] Reword node roles docs (#69301) 2021-02-23 11:32:46 -05:00
data-management.asciidoc [DOCS] Move Kibana index mgmt docs to ES (#64380) 2020-10-30 09:14:52 -04:00
data-rollup-transform.asciidoc [DOCS] Remove ifdefs for rollup refactor 2021-08-05 09:08:04 -04:00
datatiers.asciidoc [DOCS] Clarify cold tier functionality (#78933) 2021-10-11 16:24:21 -04:00
dependencies-versions.asciidoc [DOCS] Added appendix to show dependencies (#67962) 2021-01-26 16:16:05 -08:00
docs.asciidoc [DOCS] Update single index APIs reference (#73103) 2021-05-14 11:53:34 -04:00
getting-started.asciidoc Update links to Fleet/Agent docs (#79303) 2021-10-18 11:44:21 -07:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
high-availability.asciidoc [DOCS] Add docs for designing resilient clusters (#47233) 2020-06-05 11:48:44 -04:00
how-to.asciidoc [DOCS] Add 'Fix common cluster issues' docs (#72097) 2021-04-28 08:28:51 -04:00
index-extra-title-page.html [DOCS] Add index-extra-title-page.html for direct HTML migration (#50189) 2019-12-13 12:44:12 -05:00
index-modules.asciidoc [DOCS] Fix typo 2021-10-12 08:27:54 -04:00
index.asciidoc [DOCS] Move ES glossary to Stack docs (#74579) 2021-06-24 19:04:31 -04:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc [DOCS] Fix broken doc url values in JSON API spec (#75385) 2021-07-15 13:46:00 -04:00
ingest.asciidoc Update links to Fleet/Agent docs (#79303) 2021-10-18 11:44:21 -07:00
intro.asciidoc [DOCS] Update ES intro for stretched clusters (#77651) 2021-09-13 16:50:08 -04:00
links.asciidoc [DOCS] Rename ES Reference to ES Guide (#71198) 2021-04-01 15:38:41 -04:00
mapping.asciidoc Minor revision missed in merge. (#67282) 2021-01-11 13:50:06 -05:00
query-dsl.asciidoc [DOCS] Remove deprecated geo_shape parameters (#74519) 2021-06-29 08:52:05 -04:00
redirects.asciidoc [DOCS] Update remote cluster docs (#77043) 2021-09-22 16:02:33 -04:00
release-notes.asciidoc [DOCS] Add placeholder for 8.0.0-alpha2 release notes (#77782) 2021-09-15 10:13:13 -04:00
scripting.asciidoc [DOCS] Move common scripting use cases up a level (#73445) 2021-05-27 07:38:55 -04:00
search.asciidoc [DOCS] Document _mvt API (#75384) 2021-08-05 15:04:07 -04:00
setup.asciidoc [DOCS] Edit dedicated hosts section heading 2021-09-21 17:53:07 -04:00
upgrade.asciidoc [DOCS] Update hardcoded 7.16 docs links (#79592) 2021-10-20 18:43:46 -04:00