-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[7.7.0] Missing breaking change: null values for minimum_should_match #56812
Comments
Pinging @elastic/es-search (:Search/Search) |
@jayaddison thanks for raising this, this is likely an unintended side effect of #52880. If we accepted |
Until 7.7 we used to ignore `null` values for `minimum_should_match` in `bool` queries. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour at least on the 7.x lines. Closes elastic#56812
Brilliant, and thanks for responding to this so quickly, @cbuescher. I've been able to roll-forward my application's behaviour to cope with the change in null handling, but I imagine others may still appreciate the fix. |
Filed ES support case 00549044 for similar issue with |
Until 7.7 we used to ignore `null` values for `bool`queries `minimum_should_match`, parameters and also for the `must`, `must_not`, `should` and `filter` clauses. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour for bwc for now. Closes #56812
Until 7.7 we used to ignore `null` values for `bool`queries `minimum_should_match`, parameters and also for the `must`, `must_not`, `should` and `filter` clauses. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour for bwc for now. Closes #56812
Until 7.7 we used to ignore `null` values for `bool`queries `minimum_should_match`, parameters and also for the `must`, `must_not`, `should` and `filter` clauses. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour for bwc for now. Closes #56812
Until 7.7 we used to ignore `null` values for `bool`queries `minimum_should_match`, parameters and also for the `must`, `must_not`, `should` and `filter` clauses. An internal refactoring has changed this so now we get a parsing error. While `null` should not a common value here, we should restore the old behaviour for bwc for now. Closes #56812
How is this closed? This issue is still present in 7.8.1 |
I just checked this on a local test instance and on cloud in 7.8.1 and the reported issue is fixed there. Can you make sure that you are not running any older nodes in your cluster? If you are still having issues I'd like to point you to to the support forums over at https://discuss.elastic.co to do further digging since I cannot reproduce this issue here. Many thanks. |
Elasticsearch version (
bin/elasticsearch --version
):7.7.0
Plugins installed: []
JVM version (
java -version
):openjdk 14 2020-03-17
OS version (
uname -a
if on a Unix-like system):Linux basecamp 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
During execution of a
bool
query withminimum_should_match
value set tonull
, anx_content_parse_exception
was raised:Steps to reproduce:
Expected behaviour:
This query was valid in ES 7.6.2, and doesn't appear in the 'breaking changes' for 7.7.0 (ref), so this failure was unexpected.
The text was updated successfully, but these errors were encountered: