Skip to content

When appendNumArgs has exclude flag, it should append "(" and num together #143

@xjplke

Description

@xjplke

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

  1. (integer) 1
  2. "doc1"
    1. "title"
    2. "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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions