mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
* Add a generic `rescorer` retriever based on the search request's rescore functionality (#118585) This pull request introduces a new retriever called `rescorer`, which leverages the `rescore` functionality of the search request. The `rescorer` retriever re-scores only the top documents retrieved by its child retriever, offering fine-tuned scoring capabilities. All rescorers supported in the `rescore` section of a search request are available in this retriever, and the same format is used to define the rescore configuration. <details> <summary>Example:</summary> ```yaml - do: search: index: test body: retriever: rescorer: rescore: window_size: 10 query: rescore_query: rank_feature: field: "features.second_stage" linear: { } query_weight: 0 retriever: standard: query: rank_feature: field: "features.first_stage" linear: { } size: 2 ``` </details> Closes #118327 Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com> * replace java21 only method * fix compil --------- Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com> |
||
---|---|---|
.. | ||
search-your-data | ||
suggesters | ||
async-search.asciidoc | ||
clear-scroll-api.asciidoc | ||
count.asciidoc | ||
explain.asciidoc | ||
field-caps.asciidoc | ||
knn-search.asciidoc | ||
multi-search-template-api.asciidoc | ||
multi-search.asciidoc | ||
point-in-time-api.asciidoc | ||
profile.asciidoc | ||
rank-eval.asciidoc | ||
render-search-template-api.asciidoc | ||
retriever.asciidoc | ||
rrf.asciidoc | ||
scroll-api.asciidoc | ||
search-shards.asciidoc | ||
search-template-api.asciidoc | ||
search-vector-tile-api.asciidoc | ||
search.asciidoc | ||
suggesters.asciidoc | ||
terms-enum.asciidoc | ||
validate.asciidoc |