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