-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] regex are enabled by default since 7.10 and introduce a new circuit breaker #75199
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
>docs
General docs changes
Team:Core/Infra
Meta label for core/infra team
Team:Docs
Meta label for docs team
Comments
CamiloSierraH
added
>docs
General docs changes
needs:triage
Requires assignment of a team area label
labels
Jul 10, 2021
Pinging @elastic/es-docs (Team:Docs) |
gwbrown
added
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
and removed
needs:triage
Requires assignment of a team area label
labels
Jul 13, 2021
Pinging @elastic/es-core-infra (Team:Core/Infra) |
jrodewig
added a commit
that referenced
this issue
Aug 4, 2021
elasticsearchmachine
pushed a commit
to elasticsearchmachine/elasticsearch
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to elastic#63029. Closes elastic#75199.
elasticsearchmachine
pushed a commit
to elasticsearchmachine/elasticsearch
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to elastic#63029. Closes elastic#75199.
elasticsearchmachine
pushed a commit
to elasticsearchmachine/elasticsearch
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to elastic#63029. Closes elastic#75199.
elasticsearchmachine
pushed a commit
to elasticsearchmachine/elasticsearch
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to elastic#63029. Closes elastic#75199.
elasticsearchmachine
pushed a commit
to elasticsearchmachine/elasticsearch
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to elastic#63029. Closes elastic#75199.
elasticsearchmachine
added a commit
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to #63029. Closes #75199. Co-authored-by: James Rodewig <[email protected]>
elasticsearchmachine
added a commit
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to #63029. Closes #75199. Co-authored-by: James Rodewig <[email protected]>
elasticsearchmachine
added a commit
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to #63029. Closes #75199. Co-authored-by: James Rodewig <[email protected]>
jrodewig
added a commit
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to #63029. Closes #75199. Co-authored-by: James Rodewig <[email protected]>
elasticsearchmachine
added a commit
that referenced
this issue
Aug 4, 2021
Documents the `script.painless.regex.enabled` and `script.painless.regex.limit-factor` cluster settings. Relates to #63029. Closes #75199. Co-authored-by: James Rodewig <[email protected]>
jrodewig
added a commit
that referenced
this issue
Aug 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
>docs
General docs changes
Team:Core/Infra
Meta label for core/infra team
Team:Docs
Meta label for docs team
In earlier version of Elasticsearch (tested v7.7) we can not use regex unless the setting
script.painless.regex.enabled
is true.since v7.10 the regex are allowed by default, and we will have a circuit breaker in case the regex we try to execute is too complex:
But If you set
script.painless.regex.enabled
totrue
this circuit breaker will not be triggered anymore and the complex regex will be accepted and executed.We also have no documentation related to the setting "script.painless.regex.limit-factor".
Maybe we can take the doc from CompilerSettings class and add some examples and details to the documentation.
https://github.com/elastic/elasticsearch/blob/master/modules/lang-painless/src/main/java/org/elasticsearch/painless/CompilerSettings.java
The text was updated successfully, but these errors were encountered: