1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Enable snowball

This commit is contained in:
Florent Daigniere
2023-11-01 08:12:03 +01:00
parent 9de2a082c6
commit b5ecaa278e
2 changed files with 4 additions and 3 deletions

View File

@@ -65,9 +65,9 @@ plugin {
fts_enforced = yes
fts_autoindex_exclude = \Trash
fts_autoindex_exclude1 = \Junk
fts_filters = normalizer-icu stopwords
fts_filters_en = lowercase english-possessive stopwords
fts_filters_fr = lowercase contractions stopwords
fts_filters = normalizer-icu snowball stopwords
fts_filters_en = lowercase snowball english-possessive stopwords
fts_filters_fr = lowercase snowball contractions stopwords
fts_header_excludes = Received DKIM-* ARC-* X-* x-* Comments Delivered-To Return-Path Authentication-Results Message-ID References In-Reply-To Thread-* Accept-Language Content-* MIME-Version
{% if FULL_TEXT_SEARCH_ATTACHMENTS %}
fts_tika = http://{{ FTS_ATTACHMENTS_ADDRESS }}:9998/tika/

View File

@@ -0,0 +1 @@
Improve FTS by adding the snowball filter. This should significantly cut down the size of indexes. You may want to re-index after upgrading.