From 5f8b4f1dd9b46547d02116a4edb2841f8c5fc903 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 16 Sep 2021 15:53:47 -0400 Subject: [PATCH] [DOCS] Fix typo for `script.painless.regex.enabled` setting value (#77853) (#77928) 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 b7722de823dd6..c3d86820f6f08 100644 --- a/docs/reference/modules/indices/circuit_breaker.asciidoc +++ b/docs/reference/modules/indices/circuit_breaker.asciidoc @@ -142,7 +142,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. @@ -166,4 +166,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`.