'Constructor
doc - the doc to match against, dict
query - an additional query that can be used to filter the percolated
queries used to match against.'

def __init__(self, doc, query=None, **kwargs):

    super(PercolatorQuery, self).__init__(**kwargs)
    self.doc = doc
    self.query = query
