elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
68.63k stars 24.37k forks source link

Clarify the mapping of acceptable Painless context values #63684

Open eddieturizo opened 3 years ago

eddieturizo commented 3 years ago

It might help to clarify in the documentation the acceptable Painless context values that can be used in script.context.$CONTEXT.max_compilation_rates as seen in Script compilation circuit breaker. Painless contexts provides some clarity but the most clear mapping seems to exist from reviewing the output of GET /_script_context?filter_path=contexts.name.

elasticmachine commented 3 years ago

Pinging @elastic/es-core-infra (:Core/Infra/Scripting)