Elasticsearch
业务需求简单学习了下ElasticSearch
分享遇到的坑。
xiaobailx
这个作者很懒,什么都没留下…
展开
-
Springboot整合Elasticsearch遇到的坑'elasticsearchClient', AvailableProcessors is already set to [4]
解决:Error creating bean with name ‘elasticsearchClient’, AvailableProcessors is already set to [4] 解决方案: 遇到这个问题的时候快去关注关注你们自己有没有和Redis做过整合,如果做过那么在pom.xml中看看有没有给引入的依赖加上版本号(真的是坑我啊!!) 报错时的样子: <depend...原创 2019-10-05 18:49:49 · 956 阅读 · 0 评论 -
映射器与现有映射器有冲突例如:Mapper for [composeGoodName] conflicts with existing mapping in other types:
说来惭愧,这本是一个不应该出现的错误: pojo类中的部分代码:让composeGoodName使用ik分词器。 @Document(indexName = "seasonal",type = "escomposegood", shards = 4, replicas = 0) public class ESComposeGood { @Id private Long id; ...原创 2019-10-05 20:35:51 · 5069 阅读 · 1 评论