Why elasticsearch used different languages like painless and groovy in different cases?


(krishna_gaddipati) #1

As we know Scripting is supported in many APIs. Can someone explain me at which scenario we should use groovy and which scenario we should use painless or other scripting languages?

I was going through the elastic documentation and it says to use groovy in this link

https://www.elastic.co/guide/en/elasticsearch/guide/current/partial-updates.html

and in other places of the documentation i find documentation referring to painless scripting.

I was trying to see if i can use single language in my whole elastic environment?


(Christian Dahlqvist) #2

As the use of Groovy within Elasticsearch is being deprecated, you should always use Painless.


(Ryan Ernst) #3

Groovy isn't just deprecated, it was completely removed in 6.0.


(system) #4

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