Skip to content

FT.SEARCH: Parameter MSORTBY throwing error #1752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amansubhan opened this issue Dec 1, 2021 · 1 comment
Closed

FT.SEARCH: Parameter MSORTBY throwing error #1752

amansubhan opened this issue Dec 1, 2021 · 1 comment
Labels

Comments

@amansubhan
Copy link

When I try to use MSORTBY argument for searching in full text index, it throws an error on call "Unknown argument MSORTBY at position 1 for

"

Query:

await redisClient.ft.SEARCH('idx:res', query, {
        'MSORTBY': { BY: 'score', DIRECTION: "DESC" },
        'LIMIT': { from: 0, size: 2 },
    })

Environment:

  • Node.js Version: v16.13.0
  • Redis Server Version: 6.2.5
  • Node Redis Version: 4.0.0
  • Platform:Debian Bullseye
@amansubhan amansubhan added the Bug label Dec 1, 2021
@leibale
Copy link
Contributor

leibale commented Dec 1, 2021

Duplicate of #1749

@leibale leibale marked this as a duplicate of #1749 Dec 1, 2021
@leibale leibale closed this as completed Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants