Skip to content

Terms query errors when passing the boost parameter #1905

Closed
@Thijsvandepoll

Description

@Thijsvandepoll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions