您当前的位置: 首页 >  ar

qq_34412985

暂无认证

  • 1浏览

    0关注

    1061博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Elasticsearch exception type=resource_already_exists_exception reason=index ***already exists

qq_34412985 发布时间:2020-03-06 11:40:22 ,浏览量:1

出现这个错误是因为先用standard分词器建的index,然后使用ik分词器又建索引出现这个错误,相当于对已有的index修改mapping,同样之前用standard建的索引,现在换成用ik分词器搜也搜不出来RestHighLevelClient的TermQuery

[standard/nHTMZN2qRUuCpshxWlLukg] ElasticsearchStatusException[Elasticsearch exception [type=resource_already_exists_exception, reason=index [standard/nHTMZN2qRUuCpshxWlLukg] already exists]]

{"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [standard/nHTMZN2qRUuCpshxWlLukg] already exists","index_uuid":"nHTMZN2qRUuCpshxWlLukg","index":"standard"}],"type":"resource_already_exists_exception","reason":"index [standard/nHTMZN2qRUuCpshxWlLukg] already exists","index_uuid":"nHTMZN2qRUuCpshxWlLukg","index":"standard"},"status":400}

https://discuss.elastic.co/t/put-mapping-fails-index-already-exists-exception/56782/3

关注
打赏
1653291990
查看更多评论
立即登录/注册

微信扫码登录

0.0394s