mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 15:35:05 +00:00
Starting documentation about the admin client. * Create index with settings * put and update mapping. Closes #10816
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();
|
|
--------------------------------------------------
|
|
|