forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pr: 112648 | ||
summary: Reworking RRF retriever to be evaluated during rewrite phase | ||
area: Search | ||
type: breaking | ||
issues: [] | ||
breaking: | ||
title: Reworking RRF retriever to be evaluated during rewrite phase | ||
area: Search | ||
details: |- | ||
In this release (8.16), we have introduced major changes to the retrievers framework and how they can be evaluated, | ||
focusing mainly on compound retrievers like `rrf` and `text_similarity_reranker`, which allowed us to support | ||
additional search features like highlighting, collapsing, explaining, and aggregations. | ||
To ensure consistency and avoid unexpected failures, we have introduced a new cluster_feature that ensures that | ||
all nodes must satisfy, in order for the `rrf` and `text_similarity_reranker` retriever queries to be evaluated. | ||
This guarantees that all nodes are able to take advantage of the new framework and provide compatible responses. | ||
As part of the rework, we have removed the `_rank` property from the responses of an `rrf` retriever. | ||
impact: |- | ||
- Users will not be able to use the `rrf` and `text_similarity_reranker` retrievers in a mixed cluster scenario | ||
with previous releases (i.e. prior to 8.16), and the request will throw an `UnsupportedOperationException`. | ||
- `_rank` has now been removed from the output of the `rrf` retrievers so trying to directly parse the field | ||
will throw an exception | ||
notable: false |