The current API has an issue with passing min/max values as values can be specified only as double or String. Using min/max as a predicate for score values that should always be excluded requires a conversion to string. Using min/max values for value (ZRANGEBYLEX) always requires a specification whether the value is inclusive/exclusive in a string representation. Additionally, Z…BYLEX functions do not use the encoder but rather ASCII string encoding. Using different encoding breaks the API contract and leads to inconsistent results (see #361).