{
"settings": {
"analysis": {
"analyzer": {
"comma": {
"type": "pattern",
"pattern": ",",
"filter": ["my_pinyin"]
}
},
"filter": {
"my_pinyin": {
"type": "pinyin",
"keep_joined_full_pinyin": true
},
"my_ik": {
"type": "ik"
}
}
}
},
"mappings": {
"doc": {
"properties": {
"skus": {
"type": "text",
"analyzer": "comma"
}
}
}
}
}
报错
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "Unknown filter type [ik] for [my_ik]"
}
],
"type": "illegal_argument_exception",
"reason": "Unknown filter type [ik] for [my_ik]"
},
"status": 400
}
3 个回复
liuzhen6835
赞同来自:
fanmo3yuan
赞同来自:
aa1356889
赞同来自: