创建索引

curl -XPUT 'www.example.com:9200/myIndexName?pretty'

输出:

{
  "acknowledged" : true
}

参考链接: 这里