Skip to content

Commit

Permalink
[8.16] Indicate that rescore isn't allowed with retrievers, yet (ela…
Browse files Browse the repository at this point in the history
…stic#118019) (elastic#118023)

Backports the following commits to 8.16:
 - Indicate that rescore isn't allowed with retrievers, yet (elastic#118019)
  • Loading branch information
benwtrent authored Dec 4, 2024
1 parent ff4531d commit 01e9388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/search/retriever.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,11 @@ clauses in a <<query-dsl-bool-query, boolean query>>.

==== Restrictions on search parameters when specifying a retriever

When a retriever is specified as part of a search the following elements are not allowed
at the top-level and instead are only allowed as elements of specific retrievers:
When a retriever is specified as part of a search, the following elements are not allowed at the top-level:

* <<request-body-search-query, `query`>>
* <<search-api-knn, `knn`>>
* <<search-after, `search_after`>>
* <<request-body-search-terminate-after, `terminate_after`>>
* <<search-sort-param, `sort`>>
* <<search-sort-param, `sort`>>
* <<rescore, `rescore`>>

0 comments on commit 01e9388

Please sign in to comment.