Haystack now supports Xapian as a backend, providing improved search performance and flexibility.
While xapian-haystack is a useful tool, there are a few things to keep in mind. If you are using mod_python, there may be issues with deadlocks and Xapian. Although it might still work with some adjustments, it is not officially supported. Also, because Xapian does not allow for simultaneous WritableDatabase connections, it is recommended that you set the WSGIDaemonProcess processes to one or override the default SearchIndex class. This removes the post-save and post-delete signals that can cause an immediate re-index. Instead, you can manually re-index your site content at pre-determined times through a cronjob.
To install xapian-haystack, you can copy or symlink the xapian_backend.py file into haystack/backends/ or use one of the following commands: python setup.py install, pip install xapian-haystack, or easy_install xapian-haystack. Additionally, remember to add HAYSTACK_XAPIAN_PATH to your settings.py file and set the HAYSTACK_SEARCH_ENGINE to xapian. Overall, this is a solid choice for anyone in need of a reliable backend for the Django Haystack search API.
Version 1.0.1 Beta: N/A