-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Forbid negative values for "weight" in Function Score Query #31927
Comments
weight
in Function Score Query
Pinging @elastic/es-search-aggs |
Hi, I would like to pick this issue. |
Thanks @aditya-agrawal, your PR would be very much appreciated |
@aditya-agrawal We have an urgent need for this PR, as we are preparing for Lucene 8 upgrade. Do you think you will be able to submit a PR within several days? If not, no problem, we can work on it ourselves. |
@mayya-sharipova yes I will try to complete this in few days. |
This change issues a deprecation message for negative `weight` in Function Score query. This is a preparation for Lucene 8 (used in 7.0) where negative scores are forbidden. Closes #31927
Closed by #33390 |
If a negative weight is submitted for a query:
related to #24910
The text was updated successfully, but these errors were encountered: