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

sync FT.AGGREGATE #815

Merged
merged 3 commits into from
Mar 29, 2025
Merged

sync FT.AGGREGATE #815

merged 3 commits into from
Mar 29, 2025

Conversation

arbha1erao
Copy link
Contributor

fixes: #770

@@ -17,6 +17,58 @@ func (c FtAggregate) Index(index string) FtAggregateIndex {
return (FtAggregateIndex)(c)
}

type FtAggregateScorer Incomplete
Copy link
Collaborator

Choose a reason for hiding this comment

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

The internal/cmds/gen_search.go file is auto-generated from hack/cmds/commands_search.json by running go generate. Did you make changes to hack/cmds/commands_search.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've now updated hack/cmds/commands_search.json and regenerated the code.

@arbha1erao arbha1erao requested a review from rueian March 29, 2025 18:45
@@ -3466,6 +3466,8 @@ type FTAggregateOptions struct {
Verbatim bool
LoadAll bool
WithCursor bool
Scorer string
Copy link
Collaborator

Choose a reason for hiding this comment

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

Almost looks good to me, but this string field should be moved up to the next position after Filter.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed

@rueian rueian merged commit 9feaa1c into redis:main Mar 29, 2025
34 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.

rueidiscompat: Should sync commit fix(aggregate, search): ft.aggregate bugfixes from go-redis
2 participants