WARNING: Version 2.3 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.
$ curl -XGET 'http://localhost:9200/twitter/'
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:
$ curl -XGET 'http://localhost:9200/twitter/_settings,_mappings'
The above command will only return the settings and mappings for the index called
The available features are