On 1/2/22 4:03 AM, Michael Heseltine wrote:
I have no idea whatsoever what this HAYSTACK_CONNECTIONS thing is, nor have I found anything in the HowTo.
The HowTo you are following under Setup Directories and Files for  Mailman 3 includes
# touch /opt/mailman/mm/settings.py (copy of the mailman-suite settings.py file but with DEBUG = False)
While I would have written this section differently to emphasize you
actually need to copy the content and not just touch (i.e. create) the
file, mailman-suite settings.py is a link to
https://gitlab.com/mailman/mailman-suite/blob/master/mailman-suite_project/s...
and that in turn contains:
#
# Full-text search engine
#
HAYSTACK_CONNECTIONS = {
     'default': {
         'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
         'PATH': os.path.join(BASE_DIR, "fulltext_index"),
         # You can also use the Xapian engine, it's faster and more 
accurate,
         # but requires another library.
         # 
http://django-haystack.readthedocs.io/en/v2.4.1/installing_search_engines.html#xapian
         # Example configuration for Xapian:
         #'ENGINE': 'xapian_backend.XapianEngine'
     },
}
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan