这个分词器错误 是什么意思老师
来源:14-9 es整合 - 整合springboot,索引创建与删除

计跃鑫睿
2022-10-14
错误:[ERROR] [10/14/2022 15:22:45.009] [ActorSystem-akka.actor.default-dispatcher-5] [akka://ActorSystem/user/esDataCheckActor] analyzer [ik_syno] not found for field [content]
MapperParsingException[analyzer [ik_syno] not found for field [content]]
{
“max_result_window” : 100000000,
“number_of_shards”:5,
“analysis”: {
“filter”: {
“my_synonym_filter”: {
“type”: “synonym”,
“synonyms_path”: “analysis/synonyms.txt”
}
},
“analyzer”: {
“ik_syno”: {
“type”: “custom”,
“tokenizer”: “ik_smart”,
“filter”: [
“my_synonym_filter”
]
},
“ik_syno_max”: {
“type”: “custom”,
“tokenizer”: “ik_max_word”,
“filter”: [
“my_synonym_filter”
]
}
}
}
}
2回答
-
风间影月
2022-10-14
Ik_syno 你看看,这个应该是自己配置的吧
012022-10-14 -
风间影月
2022-10-14
Content对应的没找到。可能是配这个的时候配置错了
022022-10-14
相似问题