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
Partial Updates to Documents | Elasticsearch: The Definitive Guide [2.x] | Elastic
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?