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

adds scorer to AggregateRequest #3409

Merged
merged 8 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update signature
  • Loading branch information
rbs333 committed Oct 22, 2024
commit 5e1cadbf24c4e81130d46b3d0ed53f85399dd56a
2 changes: 1 addition & 1 deletion redis/commands/search/aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def add_scores(self) -> "AggregateRequest":
self._add_scores = True
return self

def scorer(self, scorer: str) -> "AggregateRequest":
def scorer(self, scorer: Scorers) -> "AggregateRequest":
"""
Use a different scoring function to evaluate document relevance.
Default is `TFIDF`.
Expand Down
Loading