|
return append(args, "(", num) |
When appendNumArgs has exclude flag, it should append "(" and num together.
The command line of FT.SEARCH is like this
127.0.0.1:6379> FT.SEARCH myIndex "hello world" LIMIT 0 2 RETURN 1 title FILTER age 29 (31
- (integer) 1
- "doc1"
-
- "title"
- "Hello world"
127.0.0.1:6379> FT.SEARCH myIndex "hello world" LIMIT 0 2 RETURN 1 title FILTER age 29 ( 31
(error) Unknown argument 31 at position 11 for