diff --git a/docs/reference/search/retriever.asciidoc b/docs/reference/search/retriever.asciidoc index 60df2cc68dc8f..244e0aeab2611 100644 --- a/docs/reference/search/retriever.asciidoc +++ b/docs/reference/search/retriever.asciidoc @@ -382,7 +382,7 @@ For the `standard` and `knn` retrievers, the `window_size` parameter specifies t For compound retrievers like `rrf`, the `window_size` parameter defines the total number of documents examined globally. -When using the `rescorer`, an error is returned when: +When using the `rescorer`, an error is returned if the following conditions are not met: * The minimum configured rescore's `window_size` is: ** Greater than or equal to the `size` of the parent retriever for nested `rescorer` setups. @@ -480,6 +480,7 @@ GET movies/_search } } ---- +// TEST[skip:uses ELSER] <1> Specifies the number of top documents to return in the final response. <2> A `rescorer` retriever applied as the final step.