UnicodeError while searching in haystack/whoosh index

19 views
Skip to first unread message

Florian Schweikert

unread,
Apr 28, 2015, 7:49:27 AM4/28/15
to django...@googlegroups.com
Hi,

I'm working on an django-cms 3.0.13/py2.7 page atm and came across an
weird behaviour using haystack with whoosh.

When using rebuild_index everything works fine.
But using update_index afterwards leads to an UnicodeDecodeError when
searching for a page with umlauts.
Error thrown in "whoosh/reading.py | expand_prefix"

Assuming I interpret the rebuild and update command code correct,
rebuild just calls update after clean. So why does it work with rebuild
but not with update?

I'm using an adapted version of search_indexes.py example of the
django-cms project.[1]

Any ideas/solutions?

Many thanks,
Florian

[1] http://fpaste.org/216170/30221364/

signature.asc
Reply all
Reply to author
Forward
0 new messages