I try to access to an instance of "org.elasticsearch.client.Client" in a mvel script into elasticsearch. I try to call directly "client", and i have this error :
[Error: unresolvable property or identifier: client]
Apparently is not the good way but i don't see anywhere the good way. But this client exist during the execution of the mvel script, so where can i get it?
The client object is not available in the context of script execution.