Skip to content

Commit 3cc0ba6

Browse files
authored
Merge branch 'spring-projects:main' into template-msearch
2 parents c485e34 + 260dadd commit 3cc0ba6

17 files changed

+846
-621
lines changed
Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
[[preface.versions]]
22
= Versions
33

4-
The following table shows the Elasticsearch versions that are used by Spring Data release trains and version of Spring Data Elasticsearch included in that, as well as the Spring Boot versions referring to that particular Spring Data release train.
4+
The following table shows the Elasticsearch and Spring versions that are used by Spring Data release trains and the version of Spring Data Elasticsearch included in that.
55

6-
The Elasticsearch version given shows with which client libraries Spring Data Elasticsearch was built with and tested.
7-
8-
Note that Spring Data Elasticsearch **does not** depend on Spring Boot, the version given here shows the Sprig Boot version that uses Spring Data Elasticsearch.
9-
10-
[cols="^,^,^,^,^",options="header"]
6+
[cols="^,^,^,^",options="header"]
117
|===
12-
| Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Framework | used by Spring Boot
13-
| 2024.0 (?) | 5.3.x | 8.11.2 | ? | ?
14-
| 2023.1 (Vaughan) | 5.2.x | 8.11.1 | 6.1.x | 3.2.x
15-
| 2023.0 (Ullmann) | 5.1.x | 8.7.1 | 6.0.x | 3.1.x
16-
| 2022.0 (Turing) | 5.0.xfootnote:oom[Out of maintenance] | 8.5.3 | 6.0.x | 3.0.x
17-
| 2021.2 (Raj) | 4.4.xfootnote:oom[] | 7.17.3 | 5.3.x | 2.7.x
18-
| 2021.1 (Q) | 4.3.xfootnote:oom[] | 7.15.2 | 5.3.x | 2.6.x
19-
| 2021.0 (Pascal) | 4.2.xfootnote:oom[] | 7.12.0 | 5.3.x | 2.5.x
20-
| 2020.0 (Ockham) | 4.1.xfootnote:oom[] | 7.9.3 | 5.3.2 | 2.4.x
21-
| Neumann | 4.0.xfootnote:oom[] | 7.6.2 | 5.2.12 |2.3.x
22-
| Moore | 3.2.xfootnote:oom[] |6.8.12 | 5.2.12| 2.2.x
23-
| Lovelace | 3.1.xfootnote:oom[] | 6.2.2 | 5.1.19 |2.1.x
24-
| Kay | 3.0.xfootnote:oom[] | 5.5.0 | 5.0.13 | 2.0.x
25-
| Ingalls | 2.1.xfootnote:oom[] | 2.4.0 | 4.3.25 | 1.5.x
8+
| Spring Data Release Train | Spring Data Elasticsearch | Elasticsearch | Spring Framework
9+
| 2024.0 (?) | 5.3.x | 8.11.2 | ?
10+
| 2023.1 (Vaughan) | 5.2.x | 8.11.1 | 6.1.x
11+
| 2023.0 (Ullmann) | 5.1.x | 8.7.1 | 6.0.x
12+
| 2022.0 (Turing) | 5.0.xfootnote:oom[Out of maintenance] | 8.5.3 | 6.0.x
13+
| 2021.2 (Raj) | 4.4.xfootnote:oom[] | 7.17.3 | 5.3.x
14+
| 2021.1 (Q) | 4.3.xfootnote:oom[] | 7.15.2 | 5.3.x
15+
| 2021.0 (Pascal) | 4.2.xfootnote:oom[] | 7.12.0 | 5.3.x
16+
| 2020.0 (Ockham) | 4.1.xfootnote:oom[] | 7.9.3 | 5.3.2
17+
| Neumann | 4.0.xfootnote:oom[] | 7.6.2 | 5.2.12
18+
| Moore | 3.2.xfootnote:oom[] |6.8.12 | 5.2.12
19+
| Lovelace | 3.1.xfootnote:oom[] | 6.2.2 | 5.1.19
20+
| Kay | 3.0.xfootnote:oom[] | 5.5.0 | 5.0.13
21+
| Ingalls | 2.1.xfootnote:oom[] | 2.4.0 | 4.3.25
2622
|===
2723

2824
Support for upcoming versions of Elasticsearch is being tracked and general compatibility should be given assuming the usage of the xref:elasticsearch/template.adoc[ElasticsearchOperations interface].

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
* {@link org.springframework.data.elasticsearch.core.document.Document}
5050
*
5151
* @author Peter-Josef Meisch
52+
* @author Haibo Liu
5253
* @since 4.4
5354
*/
5455
final class DocumentAdapters {
@@ -73,7 +74,7 @@ public static SearchDocument from(Hit<?> hit, JsonpMapper jsonpMapper) {
7374
Map<String, SearchDocumentResponse> innerHits = new LinkedHashMap<>();
7475
hit.innerHits().forEach((name, innerHitsResult) -> {
7576
// noinspection ReturnOfNull
76-
innerHits.put(name, SearchDocumentResponseBuilder.from(innerHitsResult.hits(), null, null, null, null,
77+
innerHits.put(name, SearchDocumentResponseBuilder.from(innerHitsResult.hits(), null, null, null, null, null,
7778
searchDocument -> null, jsonpMapper));
7879
});
7980

0 commit comments

Comments
 (0)