divio / aldryn-search

Haystack 2.0 search index for django CMS
Other
48 stars 78 forks source link

Content Indexing in cmsplugin-filer #72

Open torez opened 7 years ago

torez commented 7 years ago

Hello. In my project without this editing (https://github.com/aldryn/aldryn-search/blob/master/aldryn_search/helpers.py#L36) the content in the cmsplugin-filer is not indexed

def get_cleaned_bits(data):
    decoded = force_unicode(data)
    stripped = strip_tags(decoded)
    return list(smart_split(stripped))