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

Support match in where, must, should, must_not #110

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

esmarkowski
Copy link
Member

This pull request adds support for the match query in the where, must, should, and must_not methods. It allows users to perform match queries on specific fields in their Elasticsearch queries.

Model.must(match: {color: "blu"})

Model.should(match: {color: "blu", size: "L"})

@esmarkowski esmarkowski self-assigned this Mar 28, 2024
@esmarkowski esmarkowski merged commit d1c34b6 into main Mar 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant