Skip to content

Commit

Permalink
Fix keyword SEPARATOR typo in FT.CREATE command
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaoz authored Oct 12, 2024
1 parent 7d56a2c commit 733911e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ func (c cmdable) FTCreate(ctx context.Context, index string, options *FTCreateOp
args = append(args, "WEIGHT", schema.Weight)
}
if schema.Seperator != "" {
args = append(args, "SEPERATOR", schema.Seperator)
args = append(args, "SEPARATOR", schema.Seperator)
}
if schema.CaseSensitive {
args = append(args, "CASESENSITIVE")
Expand Down

0 comments on commit 733911e

Please sign in to comment.