From 4d83194e186aefc7e17b73dce559609c83c5dd12 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 16 Sep 2021 15:53:14 -0400 Subject: [PATCH] [DOCS] Fix typo for `script.painless.regex.enabled` setting value (#77853) (#77924) The value is `limited`, not `limit`. Co-authored-by: AndyHunt66 --- docs/reference/modules/indices/circuit_breaker.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/modules/indices/circuit_breaker.asciidoc b/docs/reference/modules/indices/circuit_breaker.asciidoc index cc5a7e78c21dd..b128ce5dfb371 100644 --- a/docs/reference/modules/indices/circuit_breaker.asciidoc +++ b/docs/reference/modules/indices/circuit_breaker.asciidoc @@ -144,7 +144,7 @@ performance. The regex circuit breaker limits the use and complexity of `script.painless.regex.enabled`:: (<>) Enables regex in Painless scripts. Accepts: -`limit` (Default)::: +`limited` (Default)::: Enables regex but limits complexity using the <> cluster setting. @@ -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 -<> is `limit`. +<> is `limited`.