From 23833453ebaa44585baf4af6d9856bc9ccad35ad Mon Sep 17 00:00:00 2001 From: AndyHunt66 Date: Thu, 16 Sep 2021 18:59:58 +0100 Subject: [PATCH] [DOCS] Fix typo for `script.painless.regex.enabled` setting value (#77853) The value is `limited`, not `limit`. --- 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`.