This section describes the Groovy API elasticsearch provides. All of elasticsearch APIs are executed using a GClient, and are completely asynchronous in nature (either accepts a listener, or return a future).
The Groovy API is a wrapper on top of the Java API exposing it in a groovier manner. The execution options for each API follow a similar manner and covered in the anatomy of a Groovy API.