-
Notifications
You must be signed in to change notification settings - Fork 118
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
Getting different result when executing FT.SEARCH
when using redis/redis-stack:7.0.6-RC8
vs redis/redis-stack-server:7.2.0-v5
. (Multi is a Map)
#417
Comments
SolvedIt is about Redis serialization protocol specification (https://redis.io/docs/reference/protocol-spec/), if we want to start client with RESP2, then we can set setProtocolNegotiation option to
at this point, not sure if it's a bug, |
Can you take care of this one @Ladicek ? Thanks! |
I looked into this briefly a few days ago and it's a bit more involved. I'll look again when I have a bit more time. |
OK, turns out I was I think the best course of action is to expose a config option for a preferred RESP version. |
PRs:
@GhenadieCebanu I believe this fix should be enough for you, but I'd be happy to hear any comments you may have. |
yes, this perfect, thank you! |
Questions
Getting different result when executing
FT.SEARCH
when usingredis/redis-stack:7.0.6-RC8
vsredis/redis-stack-server:7.2.0-v5
.Version
vertx-redis-client 4.4.0
Context
I encountered an exception
java.lang.RuntimeException: Multi is a Map
while upgrading redis-stack.Do you have a reproducer?
Steps to reproduce
Execute test using
redis/redis-stack:7.0.6-RC8
Expected output for
println
:[1, item:1, [amount, 100]]
Execute test using
redis/redis-stack-server:7.2.0-v5
Expected output for
println
:[1, item:1, [amount, 100]]
Actual output:
{format: STRING, attributes: [], error: [], results: [{id: item:1, extra_attributes: {amount: 100}, values: []}], total_results: 1}
Extra
When executing search query from console, output is the same:
issue looks similar with: #347
The text was updated successfully, but these errors were encountered: