(self)
return hasattr(self, "docterms") and hasattr(self, "termdocs")
Returns True if the search recorded which terms matched in which
        documents.

        >>> r = searcher.search(myquery)
        >>> r.has_matched_terms()
        False
        >>>
Returns True if the search recorded which terms matched in which
        documents.
Returns True if the search recorded which terms matched in which documents .
def has_matched_terms(self):
        """Returns True if the search recorded which terms matched in which
        documents.

        >>> r = searcher.search(myquery)
        >>> r.has_matched_terms()
        False
        >>>
        """

        return hasattr(self, "docterms") and hasattr(self, "termdocs")
def has_matched_terms ( self ) : return hasattr ( self , "docterms" ) and hasattr ( self , "termdocs" )