Skip to content

Commit 4de639f

Browse files
jrodewigAndyHunt66
andauthored
[DOCS] Fix typo for script.painless.regex.enabled setting value (#77853) (#77926)
The value is `limited`, not `limit`. Co-authored-by: AndyHunt66 <andrew.hunt@elastic.co>
1 parent ef7df3c commit 4de639f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/modules/indices/circuit_breaker.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ performance. The regex circuit breaker limits the use and complexity of
144144
`script.painless.regex.enabled`::
145145
(<<static-cluster-setting,Static>>) Enables regex in Painless scripts. Accepts:
146146

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

0 commit comments

Comments
 (0)