def __init__(self, fieldname, words, slop = 1, boost = 1.0):
        
        for w in words:
            if not isinstance(w, unicode):
                raise ValueError("'%s' is not unicode" % w)
        
        self.fieldname = fieldname
        self.words = words
        self.slop = slop
        self.boost = boost
fieldname is the field to search.
dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/query.py/Phrase.__init__