views:

258

answers:

3

Hi, I have a problem with django-haystack. According to this tutorial I got this apps: django-haystack xapian-haystack

I set everything but i have this error: django.core.exceptions.ImproperlyConfigured: 'xapian' isn't an available search backend. Available options are: 'dummy', 'solr', 'whoosh'

Why xapian is not available? Thanks for your help.

+1  A: 

Xapian isn't included with Haystack due to licensing differences. You have to get the xapian backend from http://github.com/notanumber/xapian-haystack.

Brian Neal
A: 

To install xapian, you may need xapian and xapian-bindings. So now, you just have to install xapian-haystack with :

pip install xapian-haystack

or

easy_install xapian-haystack
dzen