Skip to content
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

Added error checking for unsupported minimum_should_match values #1774

Merged

Conversation

miguelgrinberg
Copy link
Collaborator

This is a small improvement regarding #1451, so that the error message provides guidance on what's wrong. The developer can then decide if it makes sense to rewrite the terms using a positive minimum_should_match, or create a combined expression manually.

@miguelgrinberg miguelgrinberg force-pushed the unsupported-min-should-match branch from f41ecc6 to 1fa8bc5 Compare April 11, 2024 09:24
Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@miguelgrinberg miguelgrinberg force-pushed the unsupported-min-should-match branch from 1fa8bc5 to c33c543 Compare April 12, 2024 08:08
@miguelgrinberg miguelgrinberg merged commit c650b62 into elastic:main Apr 12, 2024
15 checks passed
@miguelgrinberg miguelgrinberg deleted the unsupported-min-should-match branch April 12, 2024 08:38
@miguelgrinberg miguelgrinberg added the backport 8.x Backport to 8.x label Apr 29, 2024
github-actions bot pushed a commit that referenced this pull request Apr 29, 2024
miguelgrinberg added a commit that referenced this pull request Apr 29, 2024
…) (#1794)

(cherry picked from commit c650b62)

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 8.x Backport to 8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants