def params(self, **kwargs):
    "\n        Specify query params to be used when executing the search. All the\n        keyword arguments will override the current values. See\n        https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.search\n        for all available parameters.\n\n        Example::\n\n            s = Search()\n            s = s.params(routing='user-1', preference='local')\n        "
    s = self._clone()
    s._params.update(kwargs)
    return s
Specify query params to be used when executing the search. All the
keyword arguments will override the current values. See
https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.search
for all available parameters.

Example::

    s = Search()
    s = s.params(routing='user-1', preference='local')
def params(self, **kwargs):
    "\n        Specify query params to be used when executing the search. All the\n        keyword arguments will override the current values. See\n        https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.search\n        for all available parameters.\n\n        Example::\n\n            s = Search()\n            s = s.params(routing='user-1', preference='local')\n        "
    s = self._clone()
    s._params.update(kwargs)
    return s