[mailman] Use xapian as a backend for fulltext search
The whoosh engine doesn't seem to be maintained anymore and when generating the index it got stuck when the size was about 20 GB. Xapian on the other hand looks more stable and much quicker when generating the index. Unfortunately the xapian-haystack package is not available in Fedora/EPEL yet and waiting for review to be finished. Link to review bug: https://bugzilla.redhat.com/show_bug.cgi?id=2313507 Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
4dcd6929e1
commit
58f8c45973
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
- python3-mailman-web
|
||||
- python3-pylibmc
|
||||
- python3-psycopg2
|
||||
- python3-whoosh
|
||||
- python3-xapian-haystack
|
||||
- sassc
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
@ -300,7 +300,7 @@ COMPRESS_OFFLINE = True
|
|||
#
|
||||
HAYSTACK_CONNECTIONS = {
|
||||
'default': {
|
||||
'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
|
||||
'ENGINE': 'xapian_backend.XapianEngine',
|
||||
'PATH': "{{ mailman_webui_basedir }}/fulltext_index",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue