- Java Transport Client (deprecated): other versions:
- Preface
- Maven Repository
- Dealing with JAR dependency conflicts
- Embedding jar with dependencies
- Deploying in JBoss EAP6 module
- Client
- Document APIs
- Search API
- Aggregations
- Query DSL
- Indexed Scripts API
- Java API Administration
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Java API Administration
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Java API Administration
editElasticsearch provides a full Java API to deal with administration tasks.
To access them, you need to call admin()
method from a client to get an AdminClient
:
AdminClient adminClient = client.admin();
In the rest of this guide, we will use client.admin()
.
Was this helpful?
Thank you for your feedback.