2015-12-30 11:50:46 -05:00
|
|
|
[[java-admin-indices]]
|
|
|
|
=== Indices Administration
|
|
|
|
|
|
|
|
To access indices Java API, you need to call `indices()` method from an <<java-admin,`AdminClient`>>:
|
|
|
|
|
|
|
|
[source,java]
|
|
|
|
--------------------------------------------------
|
|
|
|
IndicesAdminClient indicesAdminClient = client.admin().indices();
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
[NOTE]
|
|
|
|
In the rest of this guide, we will use `client.admin().indices()`.
|
|
|
|
|
|
|
|
include::create-index.asciidoc[]
|
|
|
|
|
|
|
|
include::put-mapping.asciidoc[]
|
2015-12-31 08:26:30 -05:00
|
|
|
|
2015-12-30 13:08:47 -05:00
|
|
|
include::refresh.asciidoc[]
|
|
|
|
|
2015-12-31 08:26:30 -05:00
|
|
|
include::get-settings.asciidoc[]
|
|
|
|
include::update-settings.asciidoc[]
|