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

17 lines
478 B
Plaintext
Raw Normal View History

[[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[]