Skip to content
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

Help with alternative data storage #31

Open
brockfanning opened this issue Sep 19, 2013 · 1 comment
Open

Help with alternative data storage #31

brockfanning opened this issue Sep 19, 2013 · 1 comment

Comments

@brockfanning
Copy link

Hi, I was wondering if I could get an example of how to make a search index in something other than Redis. Specifically I'm hoping to put the index data into a normal Javascript object.

I see that I need to override reds.createClient(), and that the object that is returned needs to implement a multi() function and zrevrangebyscore() function. But I don't know exactly what those functions should do, or if the object needs implement anything else.

Thanks for you help!

@plus-
Copy link
Contributor

plus- commented Sep 12, 2014

http://redis.io/commands/zrevrangebyscore

multi is just sugar to run multiple redis commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants