Groovy Scripting Language Deprecated in 5.0

(kishorereddy) #1

Groovy Scripting Language Deprecated in 5.0, can we use painless as alternatives?
what are the major key points between groovy and painless?
org.elasticsearch.script.Script.Script(ScriptType type, String lang, String idOrCode, Map<String, Object> params)
idOrCode : groovery(replaced) with painless
new Script(ScriptType.INLINE,"ctx._source.events_count += events_count;","painless", MAP);

more details are welcome

(Jason Tedor) #2

I think that you should read our blog post on this topic and maybe attend our webinar tomorrow!

(system) #3

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