使用 shuf 来打乱一个文件中的行或是选择文件中一个随机的行。

elasticsearch索引库某个属性配置英文分词报不能更改默认分词问题

匿名 | 发布于2022年04月07日 | 阅读数:695

 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]]

我应该怎么处理呢!

 
1.png 2.png
已邀请:

envy666

赞同来自: spoofer

已有字段的analyzer是不能更改的,重新建立索引,然后reindex吧

要回复问题请先登录注册