Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 14209bf730 | |||
| 31eee9fae5 | |||
| 977b7b23cc |
@@ -3,7 +3,7 @@ name: CI Build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ 6.1.x, 'issue/6.1.x/**' ]
|
||||
branches: [ main, 'issue/**' ]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
@@ -17,12 +17,12 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Setup Java and Maven
|
||||
uses: spring-projects/spring-data-build/actions/setup-maven@4.1.x
|
||||
uses: spring-projects/spring-data-build/actions/setup-maven@main
|
||||
with:
|
||||
java-version: ${{ matrix.java-version }}
|
||||
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
|
||||
- name: Build
|
||||
uses: spring-projects/spring-data-build/actions/maven-build@4.1.x
|
||||
uses: spring-projects/spring-data-build/actions/maven-build@main
|
||||
env:
|
||||
TESTCONTAINERS_REUSE_ENABLE: true
|
||||
with:
|
||||
|
||||
@@ -3,7 +3,7 @@ name: Snapshots
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ 6.1.x, 'issue/6.1.x/**' ]
|
||||
branches: [ main, 'issue/**' ]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
@@ -15,11 +15,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Setup Java and Maven
|
||||
uses: spring-projects/spring-data-build/actions/setup-maven@4.1.x
|
||||
uses: spring-projects/spring-data-build/actions/setup-maven@main
|
||||
with:
|
||||
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
|
||||
- name: Deploy to Artifactory
|
||||
uses: spring-projects/spring-data-build/actions/maven-artifactory-deploy@4.1.x
|
||||
uses: spring-projects/spring-data-build/actions/maven-artifactory-deploy@main
|
||||
env:
|
||||
TESTCONTAINERS_REUSE_ENABLE: true
|
||||
with:
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-elasticsearch</artifactId>
|
||||
<version>6.1.1-SNAPSHOT</version>
|
||||
<version>6.2.0-SNAPSHOT</version>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.data.build</groupId>
|
||||
<artifactId>spring-data-parent</artifactId>
|
||||
<version>4.1.1-SNAPSHOT</version>
|
||||
<version>4.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<name>Spring Data Elasticsearch</name>
|
||||
@@ -18,7 +18,7 @@
|
||||
<url>https://github.com/spring-projects/spring-data-elasticsearch</url>
|
||||
|
||||
<properties>
|
||||
<springdata.commons>4.1.1-SNAPSHOT</springdata.commons>
|
||||
<springdata.commons>4.2.0-SNAPSHOT</springdata.commons>
|
||||
|
||||
<!-- version of the ElasticsearchClient -->
|
||||
<elasticsearch-java>9.4.3</elasticsearch-java>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[new-features]]
|
||||
= What's new
|
||||
|
||||
[[new-features.6-1-1]]
|
||||
== New in Spring Data Elasticsearch 6.1.1
|
||||
[[new-features.6-2-0]]
|
||||
== New in Spring Data Elasticsearch 6.2
|
||||
|
||||
* Upgrade to Elasticsearch 9.4.3
|
||||
|
||||
|
||||
@@ -6,7 +6,8 @@ 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.0 | 6.1.x | 9.4.3 | 7.0.x
|
||||
| 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
|
||||
| 2024.1 | 5.4.xfootnote:oom[] | 8.15.5 | 6.1.x
|
||||
|
||||
+15
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user