原来的缩索引创建后就不能修改 只能创建一个新的索引 再把数据从旧索引迁移到新的索引上
创建新索引
PUT gulimall_product
{
"mappings" : {
"properties" : {
"attrs" : {
"type" : "nested",
"properties" : {
"attrId" : {
"type" : "long"
},
"attrName" : {
"type" : "keyword"