Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 16, 2024
1 parent c0c3b08 commit f0c4236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/search/retriever.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit f0c4236

Please sign in to comment.