Skip to content

RedisSearch SORTBY does not work  #1749

@bertrand-riviere

Description

@bertrand-riviere

It might actually not be a "bug" but when I use the SORTBY search option it seems to be ignored (which makes sense considering it is commented out in /packages/search/lib/commands/SEARCH.ts).
I can see that a MSORTBY option is supported but when I try to use it I get an error from Redis (ReplyError: Unknown argument MSORTBY at position 1 for ...)
Is there a way to workaround this issue?

Environment:

  • Node.js Version: 14.17.0
  • Redis Server Version: 6.2.3
  • Node Redis Version: 4.0.0
  • Platform: Windows 10

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