Script.painless.regex.enabled: true Is not enough to disable limits

Hello,

ES vesion : 8.12.0
I want to use scripting when search documents.
I activated "script.painless.regex.enabled: true" in purpose to avoid limiting chars, But in my cluster settings, I still see :

"painless":{"regex":{"enabled":"true","limit-factor":"6"}}

I dont know why "limit-factor" exists and setted to 6 by default, knowing that setting the first property to true will automatically avoid char limitations ( thats what official doc is saying ).

Dos anyone have an explanation please ? and may be a solution to set unlimited char for regex expression in scripting.

Thank you,

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.