[Django]-How do I debug the "Model <…> has more than one SearchIndex handling it" error in Django-Haystack?

3👍

This is due to a racing condition occurring in UnifiedIndex class of haystack.utils. It is supposed to be solved in django-haystack 2.4.

You can read all about it here.

Try using search_view_factory as it thread-safe unlike the traditional SearchView.

Leave a comment