@classmethod
def apply_suggester_completion(cls, suggester_name, queryset, options, value):
    """Apply `completion` suggester.

        :param suggester_name:
        :param queryset: Original queryset.
        :param options: Filter options.
        :param value: value to filter on.
        :type suggester_name: str
        :type queryset: elasticsearch_dsl.search.Search
        :type options: dict
        :type value: str
        :return: Modified queryset.
        :rtype: elasticsearch_dsl.search.Search
        """
    completion_kwargs = {'field': options['field']}
    if 'size' in options:
        completion_kwargs['size'] = options['size']
    if 'contexts' in options:
        completion_kwargs['contexts'] = options['contexts']
    if 'skip_duplicates' in options:
        completion_kwargs['skip_duplicates'] = options['skip_duplicates']
    return queryset.suggest(suggester_name, value, completion=completion_kwargs
        )
