Skip to content

Misleading arguments to RescoreQuery #459

@maciejkula

Description

@maciejkula

pyes.query.RescoreQuery(query, window_size=None, query_weight=None, rescore_query_weight=None, **kwargs) should not suggest it takes a window_size argument, as that has to be defined on the Search object that is created from it.

As far as I can tell setting window_size on RescoreQuery has no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions