From 2b5c5975f5ca709fb2c3024ecf93003679c87452 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 12 May 2025 08:42:42 +0200 Subject: [PATCH] Polishing. Add missing documentation. See #3285 --- .../ROOT/pages/repositories/query-return-types-reference.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc index 60f6cc2f8..76ff96b52 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc @@ -36,6 +36,8 @@ Some store modules may define their own result wrapper types. |`GeoResult`|A result entry with additional information, such as the distance to a reference location. |`GeoResults`|A list of `GeoResult` with additional information, such as the average distance to a reference location. |`GeoPage`|A `Page` with `GeoResult`, such as the average distance to a reference location. +|`SearchResult`|A result entry with additional information, such as the score in relation to the reference search term. +|`SearchResults`|A list of `SearchResult`. |`Mono`|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`. |`Flux`|A Project Reactor `Flux` emitting zero, one, or many elements using reactive repositories. Queries returning `Flux` can emit also an infinite number of elements. |`Single`|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`.