def using(self, client):
    '\n        Associate the search request with an elasticsearch client. A fresh copy\n        will be returned with current instance remaining unchanged.\n\n        :arg client: an instance of ``elasticsearch.Elasticsearch`` to use or\n            an alias to look up in ``elasticsearch_dsl.connections``\n\n        '
    s = self._clone()
    s._using = 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``
def using(self, client):
    '\n        Associate the search request with an elasticsearch client. A fresh copy\n        will be returned with current instance remaining unchanged.\n\n        :arg client: an instance of ``elasticsearch.Elasticsearch`` to use or\n            an alias to look up in ``elasticsearch_dsl.connections``\n\n        '
    s = self._clone()
    s._using = client
    return s