(self, client)
return s
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``
Associate the search request with an elasticsearch client. A fresh copy
        will be returned with current instance remaining unchanged.
Associate the search request with an elasticsearch client . A fresh copy will be returned with current instance remaining unchanged .
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
def using ( self , client ) : s = self . _clone ( ) s . _using = client return s