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

Allow SORT Command to STORE results as sorted set #653

Closed
GoogleCodeExporter opened this issue Feb 13, 2016 · 1 comment
Closed

Allow SORT Command to STORE results as sorted set #653

GoogleCodeExporter opened this issue Feb 13, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Would it be possible to STORE the output from the SORT command as a sorted set 
where the weight is either the external value referenced in the BY option or 
the ordinal position of the element in the new sorted set?

This would be especially useful for when I use the GET option to transform the 
value of an element into another related value. But I also want to be able to 
perform additional key intersections on the new sorted set  and I can't do that 
with the list datatype the SORT command currently uses to store results.


Original issue reported on code.google.com by dallas.s...@gmail.com on 1 Sep 2011 at 12:59

@GoogleCodeExporter
Copy link
Author

Hello, unfortunately the SORT command is already at the max complexity... even 
a bit further ;)

I hope your problems can be solved using the scripting feature that will be 
available with Redis 2.6 and is already working (alpha stage) in the unstable 
branch.

Salvatore

Original comment by anti...@gmail.com on 14 Sep 2011 at 12:45

  • Changed state: WontFix

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

No branches or pull requests

1 participant