pmoniq
pmoniq

Reputation: 1923

xapian and django-haystack

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.

Upvotes: 3

Views: 3811

Answers (3)

dave
dave

Reputation: 905

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/

Upvotes: 1

user221209
user221209

Reputation:

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

Upvotes: 1

Brian Neal
Brian Neal

Reputation: 32389

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

Upvotes: 5

Related Questions