From 247955a8f3551beab83242eb83aec019edf0a6fd Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 11 Sep 2017 11:07:13 -0700 Subject: [PATCH] Docs: Remove remaining references to file and native scripts relates #25690 --- .../metrics/extendedstats-aggregation.asciidoc | 2 +- docs/reference/modules/plugins.asciidoc | 2 +- docs/reference/modules/scripting/using.asciidoc | 8 +++----- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc b/docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc index b71427ae9cb55..6eb2f18928a81 100644 --- a/docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc +++ b/docs/reference/aggregations/metrics/extendedstats-aggregation.asciidoc @@ -109,7 +109,7 @@ GET /exams/_search // CONSOLE // TEST[setup:exams] -This will interpret the `script` parameter as an `inline` script with the `painless` script language and no script parameters. To use a file script use the following syntax: +This will interpret the `script` parameter as an `inline` script with the `painless` script language and no script parameters. To use a stored script use the following syntax: [source,js] -------------------------------------------------- diff --git a/docs/reference/modules/plugins.asciidoc b/docs/reference/modules/plugins.asciidoc index 240f984091345..ad708e88024cd 100644 --- a/docs/reference/modules/plugins.asciidoc +++ b/docs/reference/modules/plugins.asciidoc @@ -6,7 +6,7 @@ Plugins are a way to enhance the basic elasticsearch functionality in a custom manner. They range from adding custom mapping types, custom -analyzers (in a more built in fashion), native scripts, custom discovery +analyzers (in a more built in fashion), custom script engines, custom discovery and more. See the {plugins}/index.html[Plugins documentation] for more. diff --git a/docs/reference/modules/scripting/using.asciidoc b/docs/reference/modules/scripting/using.asciidoc index 37f75f6557a31..646bd4dd0921c 100644 --- a/docs/reference/modules/scripting/using.asciidoc +++ b/docs/reference/modules/scripting/using.asciidoc @@ -178,14 +178,12 @@ DELETE _scripts/calculate-score === Script Caching All scripts are cached by default so that they only need to be recompiled -when updates occur. File scripts keep a static cache and will always reside -in memory. Both inline and stored scripts are stored in a cache that can evict -residing scripts. By default, scripts do not have a time-based expiration, but +when updates occur. By default, scripts do not have a time-based expiration, but you can change this behavior by using the `script.cache.expire` setting. You can configure the size of this cache by using the `script.cache.max_size` setting. By default, the cache size is `100`. NOTE: The size of stored scripts is limited to 65,535 bytes. This can be changed by setting `script.max_size_in_bytes` setting to increase that soft -limit, but if scripts are really large then alternatives like -<> scripts should be considered instead. +limit, but if scripts are really large then a +<> should be considered.