依旧先吐槽一句:“转载”别人的写的东西之前,能不能先明确一下自己的需求?如果是你要highlevelClient的资料,却把别人老早之前写的lowlevenclient文章转载了,然后标题上写high,你确定有用?
maven引入依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
</dependency>
我在网上查找资料时,发现一个说法
但是,我发现,当我引入spring data es后再引入官方提供的依赖时
官网地址:https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high.html
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearc