Add a fulltext search term to the query.

        Warning:
            Do not use this method with any other query-building helpers. This method
            is only for building fulltext queries (in non-advanced mode). Using other
            helpers, such as ``match_field()``, will cause the query to run in advanced mode.
            If a fulltext term query is run in advanced mode, it will have unexpected
            results.

        Arguments:
            value (str): The term to match.
            required (bool): If ``True``, will add term with ``AND``.
                    If ``False``, will use ``OR``. **Default:** ``True``.
            new_group (bool): If ``True``, will separate the term into a new parenthetical group.
                    If ``False``, will not.
                    **Default:** ``False``.

        Returns:
            SearchHelper: Self

def match_term(self, value, required=True, new_group=False):
        """Add a fulltext search term to the query.

        Warning:
            Do not use this method with any other query-building helpers. This method
            is only for building fulltext queries (in non-advanced mode). Using other
            helpers, such as ``match_field()``, will cause the query to run in advanced mode.
            If a fulltext term query is run in advanced mode, it will have unexpected
            results.

        Arguments:
            value (str): The term to match.
            required (bool): If ``True``, will add term with ``AND``.
                    If ``False``, will use ``OR``. **Default:** ``True``.
            new_group (bool): If ``True``, will separate the term into a new parenthetical group.
                    If ``False``, will not.
                    **Default:** ``False``.

        Returns:
            SearchHelper: Self
        """
        # If not the start of the query string, add an AND or OR
        if self.initialized:
            if required:
                self._and_join(new_group)
            else:
                self._or_join(new_group)
        self._term(value)
        return self