Update fulltext search engine to Xapian from Whoosh. (#364)
This commit is contained in:
@@ -315,13 +315,13 @@ COMPRESS_PRECOMPILERS = (
|
|||||||
#
|
#
|
||||||
HAYSTACK_CONNECTIONS = {
|
HAYSTACK_CONNECTIONS = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
# 'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
||||||
'PATH': "/opt/mailman-web-data/fulltext_index",
|
'PATH': "/opt/mailman-web-data/fulltext_index",
|
||||||
# You can also use the Xapian engine, it's faster and more accurate,
|
# You can also use the Xapian engine, it's faster and more accurate,
|
||||||
# but requires another library.
|
# but requires another library.
|
||||||
# http://django-haystack.readthedocs.io/en/v2.4.1/installing_search_engines.html#xapian
|
# http://django-haystack.readthedocs.io/en/v2.4.1/installing_search_engines.html#xapian
|
||||||
# Example configuration for Xapian:
|
# Example configuration for Xapian:
|
||||||
#'ENGINE': 'xapian_backend.XapianEngine'
|
'ENGINE': 'xapian_backend.XapianEngine'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user