From f0c4236e4387f1f7352867cdabcfdb25af46f5f3 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Mon, 16 Dec 2024 11:21:38 +0000 Subject: [PATCH] fix doc --- docs/reference/search/retriever.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.