| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | = Groovy API:ref:  http://www.elastic.co/guide/en/elasticsearch/reference/current:java: http://www.elastic.co/guide/en/elasticsearch/client/java-api/current[preface]== PrefaceThis section describes the http://groovy-lang.org/[Groovy] APIelasticsearch provides. All elasticsearch APIs are executed using a<<client,GClient>>, and are completelyasynchronous in nature (they either accept a listener, or return afuture).The Groovy API is a wrapper on top of the{java}[Java API] exposing it in a grooviermanner. The execution options for each API follow a similar manner andcovered in <<anatomy>>.[[maven]]=== Maven RepositoryThe Groovy API is hosted onhttp://search.maven.org/#search%7Cga%7C1%7Ca%3A%22elasticsearch-groovy%22[MavenCentral].For example, you can define the latest version in your `pom.xml` file:[source,xml]--------------------------------------------------<dependency>    <groupId>org.elasticsearch</groupId>    <artifactId>elasticsearch-groovy</artifactId>    <version>${es.version}</version></dependency>--------------------------------------------------include::anatomy.asciidoc[]include::client.asciidoc[]include::index_.asciidoc[]include::get.asciidoc[]include::delete.asciidoc[]include::search.asciidoc[]
 |