def highlight(self, *fields, **kwargs):
    '\n        Request highlighting of some fields. All keyword arguments passed in will be\n        used as parameters for all the fields in the ``fields`` parameter. Example::\n\n            Search().highlight(\'title\', \'body\', fragment_size=50)\n\n        will produce the equivalent of::\n\n            {\n                "highlight": {\n                    "fields": {\n                        "body": {"fragment_size": 50},\n                        "title": {"fragment_size": 50}\n                    }\n                }\n            }\n\n        If you want to have different options for different fields\n        you can call ``highlight`` twice::\n\n            Search().highlight(\'title\', fragment_size=50).highlight(\'body\', fragment_size=100)\n\n        which will produce::\n\n            {\n                "highlight": {\n                    "fields": {\n                        "body": {"fragment_size": 100},\n                        "title": {"fragment_size": 50}\n                    }\n                }\n            }\n\n        '
    s = self._clone()
    for f in fields:
        s._highlight[f] = kwargs
    return s
Request highlighting of some fields. All keyword arguments passed in will be
used as parameters for all the fields in the ``fields`` parameter. Example::

    Search().highlight('title', 'body', fragment_size=50)

will produce the equivalent of::

    {
        "highlight": {
            "fields": {
                "body": {"fragment_size": 50},
                "title": {"fragment_size": 50}
            }
        }
    }

If you want to have different options for different fields
you can call ``highlight`` twice::

    Search().highlight('title', fragment_size=50).highlight('body', fragment_size=100)

which will produce::

    {
        "highlight": {
            "fields": {
                "body": {"fragment_size": 100},
                "title": {"fragment_size": 50}
            }
        }
    }
def highlight(self, *fields, **kwargs):
    '\n        Request highlighting of some fields. All keyword arguments passed in will be\n        used as parameters for all the fields in the ``fields`` parameter. Example::\n\n            Search().highlight(\'title\', \'body\', fragment_size=50)\n\n        will produce the equivalent of::\n\n            {\n                "highlight": {\n                    "fields": {\n                        "body": {"fragment_size": 50},\n                        "title": {"fragment_size": 50}\n                    }\n                }\n            }\n\n        If you want to have different options for different fields\n        you can call ``highlight`` twice::\n\n            Search().highlight(\'title\', fragment_size=50).highlight(\'body\', fragment_size=100)\n\n        which will produce::\n\n            {\n                "highlight": {\n                    "fields": {\n                        "body": {"fragment_size": 100},\n                        "title": {"fragment_size": 50}\n                    }\n                }\n            }\n\n        '
    s = self._clone()
    for f in fields:
        s._highlight[f] = kwargs
    return s