-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[8.x] rrf support the window_size parameter to compatible with old version #120690
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
[8.x] rrf support the window_size parameter to compatible with old version #120690
Conversation
(cherry picked from commit be9fa86)
hi, @pmpailis, I add a new PR, can you help to review it? |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Thanks @weizijun ! Changed the type to |
x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/rrf/100_rank_rrf.yml
Outdated
Show resolved
Hide resolved
x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/rrf/100_rank_rrf.yml
Outdated
Show resolved
Hide resolved
Thanks @weizijun ! Change looks fine to me. Let me also run the CI tests. |
buildkite test this please |
buildkite test this please |
buildkite test this please |
buildkite test this please |
Thank you for the PR and all the iterations @weizijun ! Will proceed to merging to |
💔 Backport failed
You can use sqren/backport to manually backport by running |
where upgrade from 8.13 to 8.17 or newer version, the java client will failed when use rrf and window_size parameter.
I added the
window_size
parameter back to the deprecated parameters to support upgrades.This PR add the deprecated parameter to 8.x branch, because the feature will remove in 9.x.
More detail, see #119724