yatriks commented on issue #3030:
URL: https://github.com/apache/kvrocks/issues/3030#issuecomment-2991899064
Ah so my mistake, I was using `execute_command` in the library incorrectly,
and it was splitting arguments incorrectly.
If I use `r.ft().execute_command("FT.SEARCH", "idx", "@money:[1234 1234]")`,
it works correctly.
Now there's another higher level question of why I can't use
`ft().search(...)` -- I think the redis-py client automatically adds `DIALECT 2
LIMIT 0 10`, and it seems that manually specifying the DIALECT is what is
yielding the syntax error. Not sure if this is widespread or just for
`FT.SEARCH`, maybe you have some insight?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]