pythondjangodjango-haystackwhoosh

Django Haystack Errors on certain keywords


I use haystack and whoosh in my platform and it runs on an hourly basis indexing my content.

I have found that with certain strings it raises a

VariableDoesNotExist: Failed lookup for key [object] in u'None'

error.

Some of these strings include "Shoot", "Zero" and a few other ones I don't remember.

Have you encountered this before and is there a way to get rid of the problem?


Solution

  • I saw errors like this one time. Rebuilding the index helped me.

    python manage.py rebuild_index