code: public Set<String> rangeByScore(final ScoreRange scoreRange) {
          return doWithJedis(new JedisCallable<Set<String>>() {
              @Override
              public Set<String> call(Jedis jedis) {
                  if (scoreRange.hasLimit()) {
                      return jedis.zrangeByScore(getKey(), scoreRange.from(), scoreRange.to(), scoreRange.offset(), scoreRange.count());
                  } else {
                      return jedis.zrangeByScore(getKey(), scoreRange.from(), scoreRange.to());
                  }
              }
          });
      }
docs: Returns all the elements in the sorted set with a score in the given range.
  The elements are considered to be ordered from low to high scores.
  The elements having the same score are returned in lexicographical order (this follows from a property of the
  sorted set implementation in Redis and does not involve further computation).
  @param scoreRange
  @return elements in the specified score range