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

Expose const score query #256

Merged
merged 3 commits into from
Apr 28, 2024

Conversation

alex-au-922
Copy link
Contributor

Added ConstScoreQuery class with tests.

Expected usage:

@staticmethod
def const_score_query(query: Query, score: float) -> Query:
    pass

Query.const_score_query(BooleanQuery(...), 0.5)

Copy link
Contributor

@mocobeta mocobeta left a comment

Choose a reason for hiding this comment

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

+1

@cjrh cjrh merged commit 10553de into quickwit-oss:master Apr 28, 2024
10 checks passed
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