From 733911ea225657d1af03f3353a5a8c69ae5e803f Mon Sep 17 00:00:00 2001 From: zhenghaoz Date: Sat, 12 Oct 2024 21:03:11 +0800 Subject: [PATCH] Fix keyword SEPARATOR typo in FT.CREATE command --- search_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search_commands.go b/search_commands.go index 1a8a4cfef..60ad058fd 100644 --- a/search_commands.go +++ b/search_commands.go @@ -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")