@classmethod
def get_range_params(cls, value):
    """Get params for `range` query.

        Syntax:

            /endpoint/?field_name__range={lower}__{upper}__{boost}
            /endpoint/?field_name__range={lower}__{upper}

        Example:

            http://localhost:8000/api/users/?age__range=16__67__2.0
            http://localhost:8000/api/users/?age__range=16__67
            http://localhost:8000/api/users/?age__range=16

        :param value:
        :type: str
        :return: Params to be used in `range` query.
        :rtype: dict
        """
    __values = cls.split_lookup_complex_value(value, maxsplit=3)
    __len_values = len(__values)
    if __len_values == 0:
        return {}
    params = {'gte': __values[0]}
    if __len_values == 3:
        params['lte'] = __values[1]
        params['boost'] = __values[2]
        params.update({'lte': __values[1], 'boost': __values[2]})
    elif __len_values == 2:
        params['lte'] = __values[1]
    return params
