WARNING: Version 5.1 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
The get index API allows to retrieve information about one or more indexes.
The above example gets the information for an index called
The get index API can also be applied to more than one index, or on
all indices by using
* as index.
Filtering index informationedit
The information returned by the get API can be filtered to include only specific features by specifying a comma delimited list of features in the URL:
The above command will only return the settings and mappings for the index called
The available features are