parameters: (self, client)
return_statement: return s
docstring: Associate the search request with an elasticsearch client. A fresh copy
          will be returned with current instance remaining unchanged.
  
          :arg client: an instance of ``elasticsearch.Elasticsearch`` to use or
              an alias to look up in ``elasticsearch_dsl.connections``
docstring_summary: Associate the search request with an elasticsearch client. A fresh copy
          will be returned with current instance remaining unchanged.
docstring_tokens: Associate the search request with an elasticsearch client . A fresh copy will be returned with current instance remaining unchanged .
function: def using(self, client):
          """
          Associate the search request with an elasticsearch client. A fresh copy
          will be returned with current instance remaining unchanged.
  
          :arg client: an instance of ``elasticsearch.Elasticsearch`` to use or
              an alias to look up in ``elasticsearch_dsl.connections``
  
          """
          s = self._clone()
          s._using = client
          return s
function_tokens: def using ( self , client ) : s = self . _clone ( ) s . _using = client return s