Skip to content

Commit

Permalink
Indicate that rescore isn't allowed with retrievers, yet (elastic#118019
Browse files Browse the repository at this point in the history
)
  • Loading branch information
benwtrent authored Dec 4, 2024
1 parent b716a53 commit 9a81eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/search/retriever.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -765,11 +765,11 @@ clauses in a <<query-dsl-bool-query, boolean query>>.
[[retriever-restrictions]]
==== 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.
Instead they 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`>>
* <<rescore, `rescore`>>

0 comments on commit 9a81eb2

Please sign in to comment.