(self, phrases=True)
return set(self.iter_all_terms(phrases=phrases))
Returns a set of all terms in this query tree.

        This method exists for backwards-compatibility. Use iter_all_terms()
        instead.

        :param phrases: Whether to add words found in Phrase queries.
        :rtype: set
Returns a set of all terms in this query tree.
Returns a set of all terms in this query tree .
def all_terms(self, phrases=True):
        """Returns a set of all terms in this query tree.

        This method exists for backwards-compatibility. Use iter_all_terms()
        instead.

        :param phrases: Whether to add words found in Phrase queries.
        :rtype: set
        """

        return set(self.iter_all_terms(phrases=phrases))
def all_terms ( self , phrases = True ) : return set ( self . iter_all_terms ( phrases = phrases ) )