POST _reindex
{
"source": {
"remote": {
"host": "http://124.251.115.33:9200"
},
"index": "article",
"dest": {
"index": "article"
}
}
curl -XPOST 172.18.0.21:9200/_reindex -H "Content-Type: application/json" -d'{"source":{"remote":{"host":"http://124.251.115.33:9200"},"index":"article","dest":{"index":"article"}}}'
curl -X POST "localhost:9200/_reindex?pretty" -H 'Content-Type: application/json' -d'
{"source":{"remote":{"host":"http://124.251.115.33:9200"},"index":"article","query":{"match":{"account_id":""}}},"dest":{"index":"article"}}'
curl -X POST "localhost:9200/_reindex?pretty" -H 'Content-Type: application/json' -d'
{"source":{"remote":{"host":"http://124.251.115.33:9200"},"index":"statistics"},"dest":{"index":"statistics"}}'