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

Set auto_generate_synonyms_phrase_query parameter in Match query #2880

Closed
maurin-at-homiwoo opened this issue Jun 19, 2023 · 1 comment · Fixed by #3058
Closed

Set auto_generate_synonyms_phrase_query parameter in Match query #2880

maurin-at-homiwoo opened this issue Jun 19, 2023 · 1 comment · Fixed by #3058

Comments

@maurin-at-homiwoo
Copy link

Hi @sksamuel

First, thanks for this client, it's a really nice work :)

I'm looking for a way to set the auto_generate_synonyms_phrase_query parameter in a match query, but it seems it is not supported by elastic4s.
Here is the documentation for the field, it takes a boolean parameter and default to true. https://www.elastic.co/guide/en/elasticsearch/reference/8.8/query-dsl-match-query.html#match-field-params

I can make a quick PR for it (for the case class and the builder) if that can help.

Cheers,
Moe

@sksamuel
Copy link
Collaborator

sksamuel commented Jun 24, 2023 via email

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 a pull request may close this issue.

2 participants