Skip to content

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

Closed
@zhenghaoz

Description

@zhenghaoz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions