Indicate that rescore isn't allowed with retrievers, yet (#118019) (#118021)

This commit is contained in:
Benjamin Trent 2024-12-04 14:36:24 -05:00 committed by GitHub
parent 1849060209
commit d23a1eef7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`>>