-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Closed
Description
The problem/use-case that the feature addresses
Our user wants to return score when querying the ranking through zrank, instead of querying through zscore again.
Currently, we can recommend users to use pipeline to solve this problem (avoid network waits), but I think this scenario should become a built-in feature of Redis, as it is so common.
Possible command formats:
1,
z[rev]rank key member [withscore]
2,
z[rev]rankwithscore key
Why not pipeline
For many clients, using pipeline not only requires accepting a new concept, but also requires adjustment in code, new pipeline class or other.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done