Xapian and django-haystack

I have a problem with django-haystack. By in this tutorial I received the following applications: Django-stack Xapian-stack

I install everything except this error: django.core.exceptions.ImproperlyConfigured: "xapian" is not an available search backend. The following options are available: 'dummy', 'solr', 'whoosh'

Why is xapian unavailable? Thank you for your help.

+4
source share
3 answers

Xapian is not part of Haystack due to licensing differences. You should get the xapian backend from http://github.com/notanumber/xapian-haystack .

+6
source

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

pip install xapian-haystack 

or

 easy_install xapian-haystack 
+1
source

I don't think xapian is included in any of these python libraries. they allow you to use xapian from python code. you need to install xapian first.

see here: http://xapian.org/

+1
source

Source: https://habr.com/ru/post/1299796/


All Articles