Indices Exists /索引存在
原文链接 : https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-exists.html
译文链接 : Indices Exists /索引存在
贡献者 : Le-Mon
注意:涉及翻译内容: Index-索引;types-类型;mapping-映射;aliases-别名;shards-分片;replicas-副本
用来检查如果 index ( indics )是否存在。例如:
curl -XHEAD 'localhost:9200/twitter?pretty'
HTTP状态码表示index存在与否。404意味着它不存在,200即存在。