parameters: (self, query=None, filters={}, sort=())
docstring: :arg query: the text to search for
          :arg filters: facet values to filter
          :arg sort: sort information to be passed to :class:`~elasticsearch_dsl.Search`
docstring_summary: :arg query: the text to search for
          :arg filters: facet values to filter
          :arg sort: sort information to be passed to :class:`~elasticsearch_dsl.Search`
docstring_tokens: : arg query : the text to search for : arg filters : facet values to filter : arg sort : sort information to be passed to : class : ~elasticsearch_dsl . Search
function: def __init__(self, query=None, filters={}, sort=()):
          """
          :arg query: the text to search for
          :arg filters: facet values to filter
          :arg sort: sort information to be passed to :class:`~elasticsearch_dsl.Search`
          """
          self._query = query
          self._filters = {}
          # TODO: remove in 6.0
          if isinstance(sort, string_types):
              self._sort = (sort,)
          else:
              self._sort = sort
          self.filter_values = {}
          for name, value in iteritems(filters):
              self.add_filter(name, value)
  
          self._s = self.build_search()
function_tokens: def __init__ ( self , query = None , filters = { } , sort = ( ) ) : self . _query = query self . _filters = { } # TODO: remove in 6.0 if isinstance ( sort , string_types ) : self . _sort = ( sort , ) else : self . _sort = sort self . filter_values = { } for name , value in iteritems ( filters ) : self . add_filter ( name , value ) self . _s = self . build_search ( )