From f940024d179f5793fccd71be97f7bcfb7c12acba Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sun, 30 Jul 2017 01:13:51 +0900 Subject: [PATCH] Fix default search path --- web/mailman-web/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/mailman-web/settings.py b/web/mailman-web/settings.py index dca9c8f..c017c93 100644 --- a/web/mailman-web/settings.py +++ b/web/mailman-web/settings.py @@ -298,7 +298,7 @@ COMPRESS_PRECOMPILERS = ( HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', - 'PATH': os.path.join(BASE_DIR, "fulltext_index"), + '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