From 508da12771e7727d264b18c3471c1232354a50c2 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Sat, 18 Jan 2020 10:04:40 -0800 Subject: [PATCH] Update fulltext search engine to Xapian from Whoosh. (#364) --- web/mailman-web/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/mailman-web/settings.py b/web/mailman-web/settings.py index afc0d22..7d4ce20 100644 --- a/web/mailman-web/settings.py +++ b/web/mailman-web/settings.py @@ -315,13 +315,13 @@ COMPRESS_PRECOMPILERS = ( # HAYSTACK_CONNECTIONS = { 'default': { - 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', + # 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': "/opt/mailman-web-data/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' + 'ENGINE': 'xapian_backend.XapianEngine' }, }