

def __init__(self, fieldname, words, slop=1, boost=1.0):
    '\n        :param fieldname: the field to search.\n        :param words: a list of words (unicode strings) in the phrase.\n        :param slop: the number of words allowed between each "word" in the phrase; the default\n            of 1 means the phrase must match exactly.\n        :param boost: a boost factor that to apply to the raw score of documents matched by this\n            query.\n        '
    self.fieldname = fieldname
    self.words = words
    self.slop = slop
    self.boost = boost

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Phrase.__init__/original