Skip to content

Commit 4cbfef3

Browse files
authored
Upgrade to Elasticsearch 9.4.0.
Closes #3284 Signed-off-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
1 parent 8ad2e8e commit 4cbfef3

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<springdata.commons>4.1.0-SNAPSHOT</springdata.commons>
2222

2323
<!-- version of the ElasticsearchClient -->
24-
<elasticsearch-java>9.3.4</elasticsearch-java>
25-
<elasticsearch-rest-client>9.3.3</elasticsearch-rest-client>
24+
<elasticsearch-java>9.4.0</elasticsearch-java>
25+
<elasticsearch-rest-client>9.4.0</elasticsearch-rest-client>
2626

2727
<hoverfly>0.20.2</hoverfly>
2828
<log4j>2.25.4</log4j>

src/main/antora/modules/ROOT/pages/elasticsearch/elasticsearch-new.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[[new-features.6-1-0]]
55
== New in Spring Data Elasticsearch 6.1
66

7-
* Upgrade to Elasticsearch 9.3.3/ Client 9.3.4
7+
* Upgrade to Elasticsearch 9.4.0
88
* Add support to use `IndexCoordinates` as repository query parameter
99
* Add support for includeNamedQueriesScore in Query
1010
* Add support for Micrometer observation.

src/main/antora/modules/ROOT/pages/elasticsearch/versions.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The following table shows the Elasticsearch and Spring versions that are used by
66
[cols="^,^,^,^",options="header"]
77
|===
88
| Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Framework
9-
| 2026.0 | 6.1.x | 9.3.4 | 7.0.x
9+
| 2026.0 | 6.1.x | 9.4.0 | 7.0.x
1010
| 2025.1 | 6.0.x | 9.2.2 | 7.0.x
1111
| 2025.0 | 5.5.x | 8.18.1 | 6.2.x
1212
| 2024.1 | 5.4.xfootnote:oom[Out of maintenance] | 8.15.5 | 6.1.x

src/main/java/org/springframework/data/elasticsearch/client/elc/ResponseConverter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import co.elastic.clients.elasticsearch._types.ErrorCause;
2323
import co.elastic.clients.elasticsearch._types.Time;
2424
import co.elastic.clients.elasticsearch._types.query_dsl.Query;
25-
import co.elastic.clients.elasticsearch.cluster.ComponentTemplateSummary;
25+
import co.elastic.clients.elasticsearch.cluster.ComponentTemplateSummaryRes;
2626
import co.elastic.clients.elasticsearch.cluster.GetComponentTemplateResponse;
2727
import co.elastic.clients.elasticsearch.cluster.HealthResponse;
2828
import co.elastic.clients.elasticsearch.core.DeleteByQueryResponse;
@@ -133,7 +133,7 @@ private TemplateResponse clusterGetComponentTemplate(
133133
.build();
134134
}
135135

136-
private TemplateResponseData clusterGetComponentTemplateData(ComponentTemplateSummary componentTemplateSummary) {
136+
private TemplateResponseData clusterGetComponentTemplateData(ComponentTemplateSummaryRes componentTemplateSummary) {
137137

138138
var mapping = typeMapping(componentTemplateSummary.mappings());
139139
var settings = new Settings();
@@ -336,7 +336,7 @@ private TemplateResponse indexGetComponentTemplate(IndexTemplateItem indexTempla
336336
.build();
337337
}
338338

339-
private TemplateResponseData indexGetComponentTemplateData(IndexTemplateSummary indexTemplateSummary,
339+
private TemplateResponseData indexGetComponentTemplateData(IndexTemplateSummaryWithRollover indexTemplateSummary,
340340
List<String> composedOf) {
341341
var mapping = typeMapping(indexTemplateSummary.mappings());
342342

src/test/resources/testcontainers-elasticsearch.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616
#
1717
sde.testcontainers.image-name=docker.elastic.co/elasticsearch/elasticsearch
18-
sde.testcontainers.image-version=9.3.3
18+
sde.testcontainers.image-version=9.4.0
1919
#
2020
#
2121
# needed as we do a DELETE /* at the end of the tests, will be required from 8.0 on, produces a warning since 7.13

0 commit comments

Comments
 (0)