def docs(self, searcher, exclude_docs=None):
        
        try:
            return self.scorer(searcher).all_ids()
        except TermNotFound:
            return []
Returns an iterator of docnums matching this query.
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Query.docs