(self, fieldname, **kwargs)
return self
Adds a :class:`FieldFacet` for the given field name (the field name
        is automatically used as the facet name).
Adds a :class:`FieldFacet` for the given field name (the field name
        is automatically used as the facet name).
Adds a : class : FieldFacet for the given field name ( the field name is automatically used as the facet name ) .
def add_field(self, fieldname, **kwargs):
        """Adds a :class:`FieldFacet` for the given field name (the field name
        is automatically used as the facet name).
        """

        self.facets[fieldname] = FieldFacet(fieldname, **kwargs)
        return self
def add_field ( self , fieldname , * * kwargs ) : self . facets [ fieldname ] = FieldFacet ( fieldname , * * kwargs ) return self