(self, **kw)
return self.docs_for_query(self._query_for_kw(kw))
Returns a generator of the document numbers for documents matching
        the given keyword arguments, where the keyword keys are field names and
        the values are terms that must appear in the field. If you do not
        specify any arguments (``Searcher.document_numbers()``), this method
        will yield **all** document numbers.

        >>> docnums = list(searcher.document_numbers(emailto="matt@whoosh.ca"))
Returns a generator of the document numbers for documents matching
        the given keyword arguments, where the keyword keys are field names and
        the values are terms that must appear in the field. If you do not
        specify any arguments (``Searcher.document_numbers()``), this method
        will yield **all** document numbers.
Returns a generator of the document numbers for documents matching the given keyword arguments where the keyword keys are field names and the values are terms that must appear in the field . If you do not specify any arguments ( Searcher . document_numbers () ) this method will yield ** all ** document numbers .
def document_numbers(self, **kw):
        """Returns a generator of the document numbers for documents matching
        the given keyword arguments, where the keyword keys are field names and
        the values are terms that must appear in the field. If you do not
        specify any arguments (``Searcher.document_numbers()``), this method
        will yield **all** document numbers.

        >>> docnums = list(searcher.document_numbers(emailto="matt@whoosh.ca"))
        """

        self._kw_to_text(kw)
        return self.docs_for_query(self._query_for_kw(kw))
def document_numbers ( self , * * kw ) : self . _kw_to_text ( kw ) return self . docs_for_query ( self . _query_for_kw ( kw ) )