

def doc_scores(self, searcher, exclude_docs=None):
    alldocs = xrange(searcher.reader().doc_count_all())
    if (exclude_docs is None):
        exclude_docs = frozenset()
    return ((docnum, self.boost) for docnum in self if (docnum not in exclude_docs))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Every.doc_scores/VarMisuse@59/76 `alldocs`->`self`