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.
Add an additional tiebreaker to RRF (elastic#101847)
This change adds an additional tiebreaker for RRF where when two documents have the same RRF "score" such as identical ranks of (3,4) and (4,3) or (1,-) and (-,1), etc. the ordering will fallback to the highest score from query 1 then query 2, and so on. If all scores are equal then the tiebreaker will be shard index followed by doc id, but these are not necessarily stable. This should resolve most of the stability issues outlined as part of (elastic#101232). Closes elastic#101232
- Loading branch information
Showing
4 changed files
with
349 additions
and
9 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,6 @@ | ||
pr: 101847 | ||
summary: Add an additional tiebreaker to RRF | ||
area: Ranking | ||
type: bug | ||
issues: | ||
- 101232 |
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
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
Oops, something went wrong.