-
Notifications
You must be signed in to change notification settings - Fork 191
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
sync FT.AGGREGATE #815
Conversation
internal/cmds/gen_search.go
Outdated
@@ -17,6 +17,58 @@ func (c FtAggregate) Index(index string) FtAggregateIndex { | |||
return (FtAggregateIndex)(c) | |||
} | |||
|
|||
type FtAggregateScorer Incomplete |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
rueidiscompat/command.go
Outdated
@@ -3466,6 +3466,8 @@ type FTAggregateOptions struct { | |||
Verbatim bool | |||
LoadAll bool | |||
WithCursor bool | |||
Scorer string |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed
fixes: #770