1
0
mirror of synced 2026-07-06 18:20:01 +00:00

Upgrade Elasticsearch to 9.4.3.

Closes #3301
Closes #3298

Signed-off-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
This commit is contained in:
Peter-Josef Meisch
2026-07-03 21:53:58 +02:00
committed by GitHub
parent 31eee9fae5
commit 14209bf730
5 changed files with 24 additions and 3 deletions
+2 -2
View File
@@ -21,8 +21,8 @@
<springdata.commons>4.2.0-SNAPSHOT</springdata.commons>
<!-- version of the ElasticsearchClient -->
<elasticsearch-java>9.4.2</elasticsearch-java>
<elasticsearch-rest-client>9.4.2</elasticsearch-rest-client>
<elasticsearch-java>9.4.3</elasticsearch-java>
<elasticsearch-rest-client>9.4.3</elasticsearch-rest-client>
<hoverfly>0.20.2</hoverfly>
<log4j>2.25.4</log4j>
@@ -1,6 +1,11 @@
[[new-features]]
= What's new
[[new-features.6-2-0]]
== New in Spring Data Elasticsearch 6.2
* Upgrade to Elasticsearch 9.4.3
[[new-features.6-1-0]]
== New in Spring Data Elasticsearch 6.1
@@ -6,6 +6,7 @@ The following table shows the Elasticsearch and Spring versions that are used by
[cols="^,^,^,^",options="header"]
|===
| Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Framework
| 2026.1 | 6.2.x | 9.4.3 | 7.0.x
| 2026.0 | 6.1.x | 9.4.2 | 7.0.x
| 2025.1 | 6.0.x | 9.2.2 | 7.0.x
| 2025.0 | 5.5.xfootnote:oom[Out of maintenance] | 8.18.1 | 6.2.x
@@ -280,6 +280,12 @@ public abstract class MappingBuilderIntegrationTests extends MappingContextBaseT
operations.indexOps(FieldAliasEntity.class).createWithMapping();
}
@Test // #3298
@DisplayName("should write index prefixes with default value")
void shouldWriteIndexPrefixesWithDefaultValue() {
operations.indexOps(TextIndexPrefixesEntity.class).createWithMapping();
}
// region Entities
@Document(indexName = "#{@indexNameProvider.indexName()}")
static class Book {
@@ -931,5 +937,14 @@ public abstract class MappingBuilderIntegrationTests extends MappingContextBaseT
@Field(type = Text) private String otherText;
}
@Document(indexName = "#{@indexNameProvider.indexName()}")
private static class TextIndexPrefixesEntity {
@Id
@Nullable private String id;
@Nullable
// the min value is set to the default
@Field(type = Text, indexPrefixes = @IndexPrefixes(maxChars = 10)) private String someText;
}
// endregion
}
@@ -15,7 +15,7 @@
#
#
sde.testcontainers.image-name=docker.elastic.co/elasticsearch/elasticsearch
sde.testcontainers.image-version=9.4.2
sde.testcontainers.image-version=9.4.3
#
#
# 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