-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support for redisearch? #10
Comments
hiredis isn't even listed as a client on the redisearch site so not sure if this is something I can do or not. This lib is just a wrapper on that, so if it doesn't support it this lib wouldn't either. Not sure when I would be able to try it, but the most I can really hope for here is that an upgrade of the hiredis lib leads to it "just working" |
Thank you. This really looks like a very trivial fix but I am totally clueless with C. |
Redisearch do work with hiredis (v0.14.0) and an older one (v0.11.0). 0.11 is very old, so I don't think upgrading will have any change. I could not figure which one was bundled with the package. a gist of working hiredis with redisearch: The problem probably comes because the redisearch reponse is a mix of array of array and array elements, and that usually never happen in classic redis.
|
The module (at least the one in cpan) is using hiredis 0.11.0, which is working with redisearch, the issue is with the wrapper... https://metacpan.org/source/NEOPHENIX/Redis-hiredis-0.11.0/hiredis.h#L38 |
Well for whatever reason I didn't see your replies about why it wasn't working and went ahead with the hiredis upgrade tonight. Honestly, I am not sure I really have the interest in digging much further into it since I no longer use Perl or Redis. I'd gladly merge a PR if the tests are passing, but beyond that I really don't see me doing much with it, sorry. Edit: however, the file you linked to is not my code, that is taken from hiredis, so maybe this will work, I'm interested to know since I did not test this specific use, just made sure make test still worked |
Hello, great module :)
Redisearch command works but some of the results are marked as 'undef'.
https://oss.redislabs.com/redisearch/Quick_Start.html
On redis-cli I get.
Looks like some array are not getting parsed. Redisearch is pretty great and we have 0 perl client, a fix would be appreciated.
The text was updated successfully, but these errors were encountered: