My config looks like this:
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
'PATH': os.path.join(BASE_DIR, "fulltext_index"),
...
I have whoosh 2.7.4 installed. But my fulltext_index directory contains only one file, _MAIN_0.toc, which hasn't been updated in two years.
What could be going on here? Presumably Hyperkitty should be indexing new messages as they are archived. I could run update_index to fix the index now but then it would just go out of date again.
Hyperkitty updates the index via periodic jobs. You should add the following to e.g.
/etc/cron.d/mailman:This snippet is taken from page
https://docs.mailman3.org/en/latest/config-web.html#scheduled-tasks-required
You can also check an example project in the Hyperkitty repo that contains the following crontab example: