OpenSearch/docs/java-api/admin/indices/index.asciidoc

22 lines
577 B
Plaintext

[[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[]
include::refresh.asciidoc[]
include::get-settings.asciidoc[]
include::update-settings.asciidoc[]