node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

Empty PARAMS causes RediSearch fail

Open Didas-git opened this issue 1 year ago • 0 comments

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]`

Didas-git avatar Nov 04 '23 01:11 Didas-git