doroidpanic.com

ElasticsearchにWordPressのRSS/atomを投入するのに初期設定メモ


dp@elasticsearch-1-vm:~$curl -XPUT 'localhost:9200/mytest_index'
{"acknowledged":true,"shards_acknowledged":true,"index":"mytest_index"}
dp@elasticsearch-1-vm:~$ curl -X GET 'localhost:9200/mytest_index?pretty'
{
  "usedoore_index" : {
    "aliases" : { },
    "mappings" : { },
    "settings" : {
      "index" : {
        "creation_date" : "1538907897984",
        "number_of_shards" : "5",
        "number_of_replicas" : "1",
        "uuid" : "pAkv7kWAQJKUnxyy91M9PA",
        "version" : {
          "created" : "6040099"
        },
        "provided_name" : "mytest_index"
      }
    }
  }
}