elasticsearch索引库某个属性配置英文分词报不能更改默认分词问题
匿名 | 发布于2022年04月07日 | 阅读数:932
elasticsearch设置英文分词后java调用elasticsearch接口报异常:
ERROR o.s.d.e.r.s.AbstractElasticsearchRepository - [<init>,93] - failed to load elasticsearch nodes : org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_exception, reason=Mapper for [goodsTitle] conflicts with existing mapper:
Cannot update parameter [analyzer] from [my_english] to [default]]
我应该怎么处理呢!
ERROR o.s.d.e.r.s.AbstractElasticsearchRepository - [<init>,93] - failed to load elasticsearch nodes : org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_exception, reason=Mapper for [goodsTitle] conflicts with existing mapper:
Cannot update parameter [analyzer] from [my_english] to [default]]
我应该怎么处理呢!
1 个回复
envy666
赞同来自: spoofer