Enable groovy scripts on ES6.5.4

I would execute a groovy script, so I added the properties:
script.inline: true
script.indexed: true
and
script.allowed_types: inline
script.allowed_contexts: search, update

But I got the following exception:
java.lang.IllegalArgumentException: unknown setting [script.engine.groovy.inline.search]

Groovy support has been deprecated and is no longer available. You should look to use Painless scripting instead.

1 Like

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