get-index.asciidoc 522 B

1234567891011121314151617
  1. [[indices-get-index]]
  2. == Get Index
  3. The get index API allows to retrieve information about one or more indexes.
  4. [source,js]
  5. --------------------------------------------------
  6. GET /twitter
  7. --------------------------------------------------
  8. // CONSOLE
  9. // TEST[setup:twitter]
  10. The above example gets the information for an index called `twitter`. Specifying an index,
  11. alias or wildcard expression is required.
  12. The get index API can also be applied to more than one index, or on
  13. all indices by using `_all` or `*` as index.