es数据迁移
GET /jv_app_spu_prod_fix/_mapping
GET /jv_app_spu_prod_fix/_settings
新建索引
PUT /jv_app_spu_prod_fix
{
setting
mapping
}
数据迁移
POST _reindex?wait_for_completion=false
{
//源
"source": {
"index": "jv_app_spu_prod_fix"
},
//目标
"dest": {
"index": "jv_app_spu_prod"
}
}