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

Terms query errors when passing the boost parameter #1905

Closed
Thijsvandepoll opened this issue Sep 11, 2024 · 1 comment · Fixed by #1907
Closed

Terms query errors when passing the boost parameter #1905

Thijsvandepoll opened this issue Sep 11, 2024 · 1 comment · Fixed by #1907

Comments

@Thijsvandepoll
Copy link

When I upgraded to the latest version of the Elasticsearch-DSL library, I found a bug that you cannot pass the boost parameter anymore, because it tries to parse everything as a list. This is an example that fails:

query.Terms(title=["Something"], boost=2)

Hope the problem is clear.

@miguelgrinberg
Copy link
Collaborator

Thanks, yes, this has been reported already in #1904. We will publish a fix soon.

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