逗号分词器
PUT index_stg
{
"settings": {
"analysis": {
"analyzer": {
"comma": {
"type": "pattern",
"pattern":","
}
}
}
},
"mappings": {
"Index":{
"properties" : {
"itemAreaChannelPrice" : {
"type" : "text",
"analyzer" : "comma"
},
"itemAreaPrice" : {
"type" : "text",
"analyzer" : "comma"
},
"itemDistAreaCountryIds" : {
"type" : "text",
"analyzer" : "comma"
},
"itemDistAreaStoreIds" : {
"type" : "text",
"analyzer" : "comma"
}
}
}
}
}