def doc_scores(self, searcher, exclude_docs=None):
        
        return iter(self.scorer(searcher, exclude_docs=exclude_docs))
Returns an iterator of (docnum, score) pairs matching this query.
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Query.doc_scores