Skip to content

Commit

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

The value is `limited`, not `limit`.
  • Loading branch information
AndyHunt66 authored Sep 16, 2021
1 parent 05c25e4 commit a5030ef
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 a5030ef

Please sign in to comment.