curl -u elastic:vE2UD97euQZMC0XXX -XPOST "http://es-cn-6ja21duh2000c7bnz.public.elasticsearch.aliyuncs.com:9200/_reindex" -H 'Content-Type:application/json' -d '
{
"conflicts": "proceed",
"source": {
"remote": {
"host": "http://39.107.88.21:9200",
"username": "elastic",
"password": "AEjCbYenGO74ZCtq4e64"
},
"index": "tanma_customer_allocate",
"query": {
"term": {
"_type": "doc"
}
},
"size": 6000
},
"dest": {
"index": "tanma_customer_allocate"
}
}
'
curl -u elastic:vE2UD97euQZXXX -XPOST "http://es-cn-6ja21duh2000c7bnz.public.elasticsearch.aliyuncs.com:9200/_reindex" -H 'Content-Type:application/json' -d '
{
"conflicts": "proceed",
"source": {
"remote": {
"host": "http://39.107.88.21:9200",
"username": "elastic",
"password": "AEjCbYenGO74ZCtq4e64"
},
"index": "tanma_stat",
"query": {
"term": {
"_type": "doc"
}
},
"size": 6000
},
"dest": {
"index": "tanma_stat_0208"
}
}
'