<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def suggest(self, name, text, field, type='term', size=None, params=None, **kwargs):
 """ Execute suggester of given type. :param name: name for the suggester :param text: text to search for :param field: field to search :param type: One of: completion, phrase, term :param size: number of results :param params: additional suggester params :param kwargs: :return: """


        from .query import Suggest

        suggest = Suggest()

        suggest.add(text, name, field, type=type, size=size, params=params)

        return self.suggest_from_object(suggest, **kwargs)