版本升级
Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Boot |
---|---|---|---|
Moore | 3.2.x | 6.8.8 | 2.2.x |
Lovelace | 3.1.x | 6.2.2 | 2.1.x |
Kay[1] | 3.0.x[1] | 5.5.0 | 2.0.x[1] |
Ingalls[1] | 2.1.x[1] | 2.4.0 | 1.5.x[1] |
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.0.RELEASE</version>
<relativePath />
</parent>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-elasticsearch</artifactId>
</dependency>
application.yml
spring:
data:
elasticsearch:
cluster-name: elasticsearch-cluster
cluster‐nodes: 192.168.198.241:9300,192.168.198.241:9301,192.168.198.241:9302