Skip to content

[8.19] Allow zero for rescore_vector.oversample to indicate by-passing oversample and rescoring (#125599) #127662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

benwtrent
Copy link
Member

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…ample and rescoring (elastic#125599)

This allows a `rescore_vector: {oversample: 0}` to indicate bypassing
oversampling and rescoring.

This is useful for:

 - Updating a quantized mapping to turn off automatic rescoring
 - Bypassing oversampling at query time in an ad-hoc manner if its on by default in the mapping

closes: elastic#125157
(cherry picked from commit 009a86a)
@benwtrent benwtrent marked this pull request as ready for review May 5, 2025 18:22
@benwtrent benwtrent added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label May 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit d12f757 into elastic:8.19 May 5, 2025
15 checks passed
@benwtrent benwtrent deleted the backport/8.19/pr-125599 branch May 5, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants