Skip to content

Empty PARAMS causes RediSearch fail #2646

Open
@Didas-git

Description

@Didas-git

Description

When calling ft.search and passing PARAMS: {} to the node-redis options it adds PARAMS 0 to the query which its invalid, it should not add anything to the query

Node.js Version

20.5

Redis Server Version

7.2

Node Redis Version

4.6.10

Platform

Windows & Linux

Logs

`[ErrorReply: Parameters must be specified in PARAM VALUE pairs]`

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