OpenSearch/docs/reference/indices/indices-exists.asciidoc
2013-08-29 01:24:34 +02:00

13 lines
380 B
Plaintext

[[indices-exists]]
== Indices Exists
Used to check if the index (indices) exists or not. For example:
[source,js]
--------------------------------------------------
curl -XHEAD 'http://localhost:9200/twitter'
--------------------------------------------------
The HTTP status code indicates if the index exists or not. A `404` means
it does not exist, and `200` means it does.