Mailman3 - from Whoosh to Xapian
My idea/plan is to replace Whoosh with Xapian. So far i have added this line inside settings.py: 'ENGINE': 'xapian_backend.XapianEngine', and installed pip package: pip install xapian-haystack
Put i think its not enough and im missing something. If i try to do use "mailman-web rebuild_index", then i get some error messages: File "/opt/mailman/venv/lib64/python3.9/site-packages/xapian_backend.py", line 23, in <module> import xapian ModuleNotFoundError: No module named 'xapian'
Any ideas what im missing ?
Kimmo L. writes:
ModuleNotFoundError: No module named 'xapian'
I'm pretty sure this occurs when the Xapian application and its libraries are not installed. xapian-haystack is an adapter from C++ (or maybe C) to Python, it is not a complete installation of the Xapian package. See Requirements at
Have you installed Xapian itself? If you have and still no luck, let us know. I know that many sites have successfully installed Xapian as the indexer for their Mailman instance.
Hey! Thanks for the reply! I managed to install Xapian now :)
Stephen J. Turnbull