original_docstring: 
                  Search for objects of this class with a query string.
  
                  :param basestring query_string: query string
                  :param int offset: search offset
                  :param int size: search size
                  :rtype: list of dict
                  
docstring: Search for objects of this class with a query string.
docstring_tokens: Search for objects of this class with a query string .
code: def search(cls, query_string, offset=0, size=10):
                  """
                  Search for objects of this class with a query string.
  
                  :param basestring query_string: query string
                  :param int offset: search offset
                  :param int size: search size
                  :rtype: list of dict
                  """
                  ret = elasticsearch.search(query_string, cls.table, _esfields,
                                             offset=offset, size=size)
                  for item in ret['results']:
                      item['object'] = cls(item['_id'])
  
                      item['highlight'] = item.get('highlight', {})
                      for hlfield, hllist in item['highlight'].items():
                          item['highlight'][hlfield] = [
                              Markup(hlhtml) for hlhtml in hllist]
  
                  return ret
code_tokens: def search ( cls , query_string , offset = 0 , size = 10 ) : ret = elasticsearch . search ( query_string , cls . table , _esfields , offset = offset , size = size ) for item in ret [ 'results' ] : item [ 'object' ] = cls ( item [ '_id' ] ) item [ 'highlight' ] = item . get ( 'highlight' , { } ) for hlfield , hllist in item [ 'highlight' ] . items ( ) : item [ 'highlight' ] [ hlfield ] = [ Markup ( hlhtml ) for hlhtml in hllist ] return ret
short_docstring: Search for objects of this class with a query string.
short_docstring_tokens: Search for objects of this class with a query string .
comment: """
                  Search for objects of this class with a query string.
  
                  :param basestring query_string: query string
                  :param int offset: search offset
                  :param int size: search size
                  :rtype: list of dict
                  """