mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Replace deprecated script.cache.*
settings with script.context.$constext.cache_*
in documentation. (#74144)
This commit is contained in:
parent
47029736cf
commit
e124824f22
1 changed files with 2 additions and 2 deletions
|
@ -406,8 +406,8 @@ small.
|
|||
|
||||
All scripts are cached by default so that they only need to be recompiled
|
||||
when updates occur. By default, scripts do not have a time-based expiration.
|
||||
You can change this behavior by using the `script.cache.expire` setting.
|
||||
Use the `script.cache.max_size` setting to configure the size of the cache.
|
||||
You can change this behavior by using the `script.context.$CONTEXT.cache_expire` setting.
|
||||
Use the `script.context.$CONTEXT.cache_max_size` setting to configure the size of the cache.
|
||||
|
||||
NOTE: The size of scripts is limited to 65,535 bytes. Set the value of `script.max_size_in_bytes` to increase that soft limit. If your scripts are
|
||||
really large, then consider using a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue