(self, child, groupedby, maptype=None)
:param groupedby: see :doc:`/facets`.
        :param maptype: a :class:`whoosh.sorting.FacetMap` type to use for any
            facets that don't specify their own.
:param groupedby: see :doc:`/facets`.
        :param maptype: a :class:`whoosh.sorting.FacetMap` type to use for any
            facets that don't specify their own.
: param groupedby : see : doc : / facets . : param maptype : a : class : whoosh . sorting . FacetMap type to use for any facets that don t specify their own .
def __init__(self, child, groupedby, maptype=None):
        """
        :param groupedby: see :doc:`/facets`.
        :param maptype: a :class:`whoosh.sorting.FacetMap` type to use for any
            facets that don't specify their own.
        """

        self.child = child
        self.facets = sorting.Facets.from_groupedby(groupedby)
        self.maptype = maptype
def __init__ ( self , child , groupedby , maptype = None ) : self . child = child self . facets = sorting . Facets . from_groupedby ( groupedby ) self . maptype = maptype