-
Notifications
You must be signed in to change notification settings - Fork 336
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
4829 minimum should match #5488
Conversation
b7a4984
to
d1f0dce
Compare
d1f0dce
to
d7a2c5b
Compare
Fixing rest compatilibility tests. Closes #4828
d7a2c5b
to
ba35e9c
Compare
must_not, | ||
}) | ||
}) | ||
let minimum_should_match = (0usize..2).prop_map(|n: usize| n.checked_sub(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we generate some minimum_should_match, evaluate_test
must be updated to to consider it. Otherwise we don't verify it on the generated nor simplified request, so the test tests nothing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the evaluate_test... and found a bug! thx
quickwit/rest-api-tests/scenarii/es_compatibility/_setup.quickwit.yaml
Outdated
Show resolved
Hide resolved
f634b98
to
0bb5f22
Compare
0bb5f22
to
a835f4f
Compare
a835f4f
to
da577fd
Compare
Adding support for minimum_should_match
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html
Fixing rest compatilibility tests.
Closes #4828