elasticsearch索引加别名

  curl -XPOST 'http://localhost:9200/_aliases' -d '
    {
        "actions": [
            {"add": {"index": "test1", "alias": "alias1"}}
        ]
    }'

posted @ 2016-03-07 18:20  叫我家宝  阅读(3257)  评论(0编辑  收藏  举报