(self, name, querydict, **kwargs)
return self
Adds a :class:`QueryFacet` under the given ``name``.

        :param name: a name for the facet.
        :param querydict: a dictionary mapping keys to
            :class:`whoosh.query.Query` objects.
Adds a :class:`QueryFacet` under the given ``name``.
Adds a : class : QueryFacet under the given name .
def add_query(self, name, querydict, **kwargs):
        """Adds a :class:`QueryFacet` under the given ``name``.

        :param name: a name for the facet.
        :param querydict: a dictionary mapping keys to
            :class:`whoosh.query.Query` objects.
        """

        self.facets[name] = QueryFacet(querydict, **kwargs)
        return self
def add_query ( self , name , querydict , * * kwargs ) : self . facets [ name ] = QueryFacet ( querydict , * * kwargs ) return self