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
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?