

def estimate_size(self, ixreader):
    fieldnum = ixreader.fieldname_to_num(self.fieldname)
    return ixreader.doc_frequency(fieldnum, self.text)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Term.estimate_size/original