

def _existing_terms(self, ixreader, termset, reverse=False, phrases=True):
    (fieldname, text) = (self.fieldname, self.text)
    fieldnum = ixreader.fieldname_to_num(fieldname)
    contains = ((fieldnum, text) in ixreader)
    if fieldnum:
        contains = (not contains)
    if contains:
        termset.add((fieldname, text))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Term._existing_terms/VarMisuse@60/73 `reverse`->`fieldnum`