Fix default search path

This commit is contained in:
Tatsuyuki Ishi
2017-07-30 01:13:51 +09:00
parent 28fd29ffcf
commit f940024d17

View File

@@ -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