Add documentation for Java API create index and put mapping

Starting documentation about the admin client.

* Create index with settings
* put and update mapping. Closes #10816
This commit is contained in:
David Pilato 2015-12-30 17:50:46 +01:00
parent 992ffac509
commit c4a84b730a
6 changed files with 150 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[[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();
--------------------------------------------------