Closed maciej closed 9 years ago
Yes it is
You want zrangebyscore
http://redis.io/commands/zrangebyscore
http://redis.io/commands/zrange Both start and stop are zero-based indexes, where 0 is the first element, 1 is the next element and so on.
@etaty thank you for a quick response! So yes, I mixed up the Redis commands. :-)
In rediscala 1.4.0 ZADD expects memeber scores to be of type
Double
, whereas ZRANGE expectsstart
andstop
to beLong
s. Is that intended?See
commands/SortedSets.scala
.