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

        for p in self.__optional_params:
            if self.__optional_params[p]:
                params.append(('f.%s.facet.%s' % (self.__field, p),
                    str(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
Handles the mouse entering the control.
dataset/ETHPy150Open truemped/dopplr/dopplr/solr/query/facets.py/FacetFieldQuery.get_params--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/wx/image_control.py/ImageControl._on_enter