![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
文章平均质量分 57
瓦坎达forever
这个作者很懒,什么都没留下…
展开
-
SpringBoot整合ElasticSearch篇章一,点赞收藏,2021爱情事业满满
一、SpringBoot整合ElasticSearch 1.SpringBoot整合ElasticSearch 导入依赖 Maven库 以上加上SpringBoot整合ElasticSearch需要的maven依赖,通过官方文档我们可以知道其实就是这两个jar包在起作用 2.链接ES的客户端 Link to ES client 如下图: 通过RestHighLevelCilent 对象,指定 RestHighLevelCilent client = new RestHighLevelClie原创 2021-01-17 23:06:21 · 2266 阅读 · 10 评论 -
ElasticSearch安装启动时出现闪退,yml语法
在elasticsearch.yml文件中加上 http.cors.enabled: true http.cors.allow-origin: "*" 在yml语法中 :后面必须有空格,否则语法失效,会导致启动失败原创 2021-01-03 21:07:25 · 296 阅读 · 0 评论