Skip to content

Commit

Permalink
[DOCS] Fix typo for script.painless.regex.enabled setting value (#7…
Browse files Browse the repository at this point in the history
…7853) (#77926)

The value is `limited`, not `limit`.

Co-authored-by: AndyHunt66 <[email protected]>
  • Loading branch information
jrodewig and AndyHunt66 authored Sep 16, 2021
1 parent ef7df3c commit 4de639f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/modules/indices/circuit_breaker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ performance. The regex circuit breaker limits the use and complexity of
`script.painless.regex.enabled`::
(<<static-cluster-setting,Static>>) Enables regex in Painless scripts. Accepts:

`limit` (Default):::
`limited` (Default):::
Enables regex but limits complexity using the
<<script-painless-regex-limit-factor,`script.painless.regex.limit-factor`>>
cluster setting.
Expand All @@ -168,4 +168,4 @@ can consider up to 54 (9 * 6) characters. If the expression exceeds this limit,
it triggers the regex circuit breaker and returns an error.
+
{es} only applies this limit if
<<script-painless-regex-enabled,`script.painless.regex.enabled`>> is `limit`.
<<script-painless-regex-enabled,`script.painless.regex.enabled`>> is `limited`.

0 comments on commit 4de639f

Please sign in to comment.