mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-14 08:55:19 +00:00
11 lines
334 B
Plaintext
11 lines
334 B
Plaintext
|
[[java-admin-cluster]]
|
||
|
=== Cluster Administration
|
||
|
|
||
|
To access cluster Java API, you need to call `cluster()` method from an <<java-admin,`AdminClient`>>:
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
ClusterAdminClient clusterAdminClient = adminClient.cluster();
|
||
|
--------------------------------------------------
|
||
|
|