Skip to content

Loading…

Exclusion operators in ZxxxRANGEBYSCORE #74

Closed
sehugg opened this Issue · 10 comments

4 participants

@sehugg

Sorted sets allow you to retrieve ranges with an exclusive rather than inclusive start or end value. These could be optional boolean parameters to the z...rangeByScore() methods.

@sehugg

I didn't see the String parameters .. should be able to build your own parameter format for the time being, so this is pretty low priority :)

@raghavam

@sehugg
I need this feature of providing an exclusive score. How can I use String parameters to specify the exclusion operator? Even if I specify it, how would jedis recognize it?

@ivowiblo
Collaborator

What you can do until it's fixed is to use the binary overload of the methods. i.e SafeEncoder.encode( "(1" );

@raghavam

@ivowiblo
ok, got it :), thank you.

@xetorthio xetorthio was assigned
@xetorthio
Owner

this will be fixed adding an overload with Strings

@raghavam

@xetorthio
Would there be an equivalent overload for binary version? Please include that as well

@xetorthio
Owner
@ivowiblo
Collaborator

Is there any update on this issue?

@xetorthio
Owner

will be merged soon!

@ivowiblo
Collaborator

Fixed in #290

@ivowiblo ivowiblo was assigned
@ivowiblo ivowiblo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.