Skip to content

Commit 5f8b4f1

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

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
@@ -142,7 +142,7 @@ performance. The regex circuit breaker limits the use and complexity of
142142
`script.painless.regex.enabled`::
143143
(<<static-cluster-setting,Static>>) Enables regex in Painless scripts. Accepts:
144144

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

0 commit comments

Comments
 (0)