PUT expired_customer_common/customer/_mapping
{
"customer": {
"dynamic_templates": [{
"string_fields": {
"match": "*",
"match_mapping_type": "string",
"mapping": {
"analyzer": "ik_max_word",
"fields": {
"raw": {
"ignore_above": 2000,
"type": "keyword"
}
},
"index": "true",
"omit_norms": true,
"type": "text"
}
}
}]
}
}