Да, Spring Data эластичный поиск 3.1.x поддерживает ES 6.
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:0.4.0.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.data:spring-data-releasetrain:Kay-SR8'
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.data:spring-data-rest'
compile 'org.springframework.data:spring-data-elasticsearch:3.0.8.RELEASE'
}repositories {
maven {
url 'https://repo.spring.io/libs-release'
}
}