(self, fieldname, reverse=False, allow_overlap=False,
                 maptype=None)
:param fieldname: the name of the field to sort/facet on.
        :param reverse: if True, when sorting, reverse the sort order of this
            facet.
        :param allow_overlap: if True, when grouping, allow documents to appear
            in multiple groups when they have multiple terms in the field.
:param fieldname: the name of the field to sort/facet on.
        :param reverse: if True, when sorting, reverse the sort order of this
            facet.
        :param allow_overlap: if True, when grouping, allow documents to appear
            in multiple groups when they have multiple terms in the field.
: param fieldname : the name of the field to sort / facet on . : param reverse : if True when sorting reverse the sort order of this facet . : param allow_overlap : if True when grouping allow documents to appear in multiple groups when they have multiple terms in the field .
def __init__(self, fieldname, reverse=False, allow_overlap=False,
                 maptype=None):
        """
        :param fieldname: the name of the field to sort/facet on.
        :param reverse: if True, when sorting, reverse the sort order of this
            facet.
        :param allow_overlap: if True, when grouping, allow documents to appear
            in multiple groups when they have multiple terms in the field.
        """

        self.fieldname = fieldname
        self.reverse = reverse
        self.allow_overlap = allow_overlap
        self.maptype = maptype
def __init__ ( self , fieldname , reverse = False , allow_overlap = False , maptype = None ) : self . fieldname = fieldname self . reverse = reverse self . allow_overlap = allow_overlap self . maptype = maptype