You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/elasticsearch-operations.adoc
+3
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,9 @@ Returned by the low level scroll API functions in `ElasticsearchRestTemplate`, i
144
144
.SearchHitsIterator<T>
145
145
An Iterator returned by the streaming functions of the `SearchOperations` interface.
146
146
147
+
.ReactiveSearchHits
148
+
`ReactiveSearchOperations` has methods returning a `Mono<ReactiveSearchHits<T>>`, this contains the same information as a `SearchHits<T>` object, but will provide the contained `SearchHit<T>` objects as a `Flux<SearchHit<T>>` and not as a list.
Copy file name to clipboardExpand all lines: src/main/java/org/springframework/data/elasticsearch/backend/elasticsearch7/ReactiveElasticsearchTemplate.java
+32-7
Original file line number
Diff line number
Diff line change
@@ -754,6 +754,31 @@ public <T> Mono<SearchPage<T>> searchForPage(Query query, Class<?> entityType, C
Copy file name to clipboardExpand all lines: src/main/java/org/springframework/data/elasticsearch/backend/elasticsearch7/document/SearchDocumentResponse.java
+6-6
Original file line number
Diff line number
Diff line change
@@ -99,12 +99,12 @@ public Suggest getSuggest() {
99
99
* creates a SearchDocumentResponse from the {@link SearchResponse}
100
100
*
101
101
* @param searchResponse must not be {@literal null}
102
-
* @param suggestEntityCreator function to create an entity from a {@link SearchDocument}
102
+
* @param entityCreator function to create an entity from a {@link SearchDocument}
0 commit comments