Loading

Using the Java API client

The Elasticsearch API reference provides examples of requests in various languages, including Java, available in the dropdown menu on the right.

Create API java example

The sections below provide tutorials on the most frequently used and some less obvious features of Elasticsearch.

For a full reference, see the Elasticsearch documentation and in particular the REST APIs section. The Java API Client follows closely the JSON structures described there, using the Java API conventions.

If you’re new to Elasticsearch, make sure also to read Elasticsearch’s quick start that provides a good introduction.

Note

This is still a work in progress, more sections will be added in the near future.