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

Typo in FT.CREATE command (SEPARATOR vs SEPERATOR) #3150

Closed
zhenghaoz opened this issue Oct 12, 2024 · 1 comment · Fixed by #3132
Closed

Typo in FT.CREATE command (SEPARATOR vs SEPERATOR) #3150

zhenghaoz opened this issue Oct 12, 2024 · 1 comment · Fixed by #3132
Labels

Comments

@zhenghaoz
Copy link

The keyword for separator is SEPARATOR rather than SEPERATOR.

Expected Behavior

https://redis.io/docs/latest/commands/ft.create/

SEPARATOR {sep} for TAG attributes, indicates how the text contained in the attribute is to be split into individual tags. The default is ,. The value must be a single character.

Current Behavior

go-redis/search_commands.go

Lines 1006 to 1008 in ad131f4

if schema.Seperator != "" {
args = append(args, "SEPERATOR", schema.Seperator)
}

Possible Solution

Fix the typo from SEPERATOR to SEPERATOR.

@vladvildanov
Copy link
Collaborator

This issue is fixed as a part of #3132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants