Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
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,
–
It is not included in the haystack package, but is separate. It probably still won't work. It doesn't seem to have been upgraded to work with haystack 2.x.
Update: it has now been updated.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.