Skip to content

Commit 2eaf658

Browse files
committed
Polishing.
Add missing documentation. See #3285
1 parent 6cb6b28 commit 2eaf658

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Some store modules may define their own result wrapper types.
3636
|`GeoResult<T>`|A result entry with additional information, such as the distance to a reference location.
3737
|`GeoResults<T>`|A list of `GeoResult<T>` with additional information, such as the average distance to a reference location.
3838
|`GeoPage<T>`|A `Page` with `GeoResult<T>`, such as the average distance to a reference location.
39+
|`SearchResult<T>`|A result entry with additional information, such as the score in relation to the reference search term.
40+
|`SearchResults<T>`|A list of `SearchResult<T>`.
3941
|`Mono<T>`|A Project Reactor `Mono` emitting zero or one element using reactive repositories. Expects the query method to return one result at most. If no result is found, `Mono.empty()` is returned. More than one result triggers an `IncorrectResultSizeDataAccessException`.
4042
|`Flux<T>`|A Project Reactor `Flux` emitting zero, one, or many elements using reactive repositories. Queries returning `Flux` can emit also an infinite number of elements.
4143
|`Single<T>`|A RxJava `Single` emitting a single element using reactive repositories. Expects the query method to return one result at most. If no result is found, `Mono.empty()` is returned. More than one result triggers an `IncorrectResultSizeDataAccessException`.

0 commit comments

Comments
 (0)