Merge pull request #108 from ishitatsuyuki/searchindex
Change the default search index path for whoosh in Django to persistent path `/opt/mailman-web-data` .
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user