-
Notifications
You must be signed in to change notification settings - Fork 25.6k
rrf support the window_size parameter to compatible with old version #119724
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
Conversation
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Thank you for taking a look at this and raising a PR @weizijun ! Before proceeding, could you please elaborate a bit on the use case here and what we want to solve? |
Thanks to @pmpailis for the comment. Before the upgrade, the user was using version 8.13 of the client. He used the
|
Thanks for the details @weizijun ! Given that we're discussing Looking at the error message, it seems that the client/requests are using the updated (and correct) So, IIUC, the error is caused when using an 8.15 client with a 8.13 (as in the example) deployment, which is somewhat expected given the API changes (for a tech preview feature at the time). Another thing to note, is that the |
Yes, when a user upgrades from 8.13 to 8.15, in the middle of the process, the cluster has two version nodes, no matter he uses |
The
The API did change in 8.15, however please also note that the Furthermore, along with the GA release of retrievers, a breaking change has also been published, so an Would it be an option to such incompatible pause queries during the upgrade, and then migrate to the fully supported retriever version of the rrf request once on 8.17? |
Yeah, I know it has replacement usage, I added the deprecated parameter just to support users who use that feature. It is easy to support. |
@weizijun we can target the Could you please update the PR (or setup a new one) to target Merging this in |
ok, I will open a new PR. |
fixed at 8.x branch |
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.