Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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

i don't think that xapian is included with any of these python libraries. they only allow you to leverage xapian from python code. you need to install xapian itself first.

see more here: http://xapian.org/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top