Enable groovy scripts on ES6.5.4


(Hichem Chebihi) #1

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]


(Christian Dahlqvist) #2

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


(system) closed #3

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