@classmethod
def prepare_highlight_fields(cls, view):
    """Prepare faceted search fields.

        Prepares the following structure:

            >>> {
            >>>     'author.name': {
            >>>         'enabled': False,
            >>>         'options': {
            >>>             'fragment_size': 150,
            >>>             'number_of_fragments': 3
            >>>         }
            >>>     }
            >>>     'title': {
            >>>         'options': {
            >>>             'pre_tags' : ["<em>"],
            >>>             'post_tags' : ["</em>"]
            >>>         },
            >>>         'enabled': True,
            >>>     },
            >>> }

        :param view:
        :type view: rest_framework.viewsets.ReadOnlyModelViewSet
        :return: Highlight fields options.
        :rtype: dict
        """
    highlight_fields = view.highlight_fields
    for field, options in highlight_fields.items():
        if 'enabled' not in highlight_fields[field]:
            highlight_fields[field]['enabled'] = False
        if 'options' not in highlight_fields[field]:
            highlight_fields[field]['options'] = {}
    return highlight_fields
