This section will walk you through the various index APIs that are exposed through the client. Index operations include anything that manages an index itself (e.g. create an index, delete, change mappings, etc).
We’ll walk through a few common operations with detailed code snippets, then list the rest of the methods in a table. The parameters are identical to the REST api, so it should be easy to perform the operation you need.