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,
},
}
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment