def suggest(self, name, text, field, type='<STR_LIT>', size=None, params=None,<EOL>**kwargs):
from .query import Suggest<EOL>suggest = Suggest()<EOL>suggest.add(text, name, field, type=type, size=size, params=params)<EOL>return self.suggest_from_object(suggest, **kwargs)<EOL>
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: