You can clone with
1)when i use zrank function,it return long type,but zrange use int
2)when i use zrank the second params not in the set,it donest return and throw error, can return -1 or null?
thanks for reporting this.
would you mind posting a small piece of code to reproduce the error in zrank?
Regarding the second point, it is actually returning null, you should use Long instead of long, as long is not nullable
So, some zrange methods (i.e. withScores) receive a Double instead of int. Which is the best solution, to add an overload receiving long or to change from int to long?
My suggestion is to add an overload for backwards compatibility.
No need for backward compatibility. Jedis 2.1.0 won't by compatible with 2.0.0
I can't use z*range* instead of zrange for searching value by startindex to endindex,not by score
which commands exactly are you trying to execute?
Some zrange methods (i.e. withScores) receive a Double instead of int for min and max. Those should be changed too or there'is a reason for them to be Double?
Sorry, I confused "byscore" with "withscore".
z*range commands now receive long instead of int. #242
Fixed in #277