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

(dsl): Support Nested query #102

Merged
merged 8 commits into from
Mar 10, 2023
Merged

(dsl): Support Nested query #102

merged 8 commits into from
Mar 10, 2023

Conversation

mvelimir
Copy link
Member

@mvelimir mvelimir commented Mar 5, 2023

Resolves nestedQuery in #91

drmarjanovic
drmarjanovic previously approved these changes Mar 5, 2023
@mvelimir mvelimir force-pushed the dsl-support-nested-query branch from 5c83444 to ac5b1e4 Compare March 9, 2023 17:29
@mvelimir mvelimir marked this pull request as ready for review March 9, 2023 17:35
multiField: Option[String] = None,
value: A
): ElasticQuery[Match] =
): ElasticQuery[S, Match] =
MatchQuery(field.toString ++ multiField.map("." ++ _).getOrElse(""), value)
Copy link
Member

Choose a reason for hiding this comment

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

Let's name params here as well.

@drmarjanovic drmarjanovic merged commit 859eedc into main Mar 10, 2023
@drmarjanovic drmarjanovic deleted the dsl-support-nested-query branch March 10, 2023 13:10
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.

3 participants