def get_params(self):
        params = []
        params.append(('facet', 'true'))
        params.append(('facet.range', self.__field))

        params.append(('f.%s.facet.range.start' % self.__field,
            str(self.__start)))
        params.append(('f.%s.facet.range.gap' % self.__field, str(self.__gap)))
        params.append(('f.%s.facet.range.end' % self.__field, str(self.__end)))

        for p in self.__optional_params:
            if self.__optional_params[p]:
                params.append(('f.%s.facet.range.%s' % (self.__field, p),
                    self.__optional_params[p]))

        if self.__value:
            if self.__tag:
                params.extend(FilterQuery(
                    '%s:%s' % (self.__field, self.__value),
                    tag=self.__field).get_params())
            else:
                params.extend(FilterQuery(
                    '%s:%s' % (self.__field, self.__value)).get_params())

        return params
Compute the parameters for the `RangeFacetQuery`.
dataset/ETHPy150Open truemped/dopplr/dopplr/solr/query/facets.py/RangeFacetQuery.get_params