From 839d42f3d334d6ae76fab3d77ec9a60fe075a15d Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Fri, 15 May 2020 18:28:56 -0700 Subject: [PATCH] Revert "Update fulltext search engine to Xapian from Whoosh. (#364)" (#376) This reverts commit 508da12771e7727d264b18c3471c1232354a50c2. --- 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 7d4ce20..afc0d22 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' }, }