I want to use Django Haystack with Xapian on my django site for search function. After setting all the necessary settings. I went ahead to input: manage.py rebuild_index , after inputting 'y' I'm getting an error saying:
No module named xapian_backend.
I can see the xapian backend module in site-packages, but I don't know why Django is not seeing it. How Can I make it work?
Below is my settings:
import os
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.xapian_backend.XapianEngine',
'PATH': 'C:/Python27/Scripts/myweb/xapian_index',
'INCLUDE_SPELLING': True,
'BATCH_SIZE': 100,
},
}
python -c 'import xapian'then these requirements are satisfied. - James Aylett