diff --git a/core/dovecot/conf/dovecot.conf b/core/dovecot/conf/dovecot.conf index 0539ac68..906b0e30 100644 --- a/core/dovecot/conf/dovecot.conf +++ b/core/dovecot/conf/dovecot.conf @@ -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/ diff --git a/towncrier/newsfragments/2977.misc b/towncrier/newsfragments/2977.misc new file mode 100644 index 00000000..afc9c97b --- /dev/null +++ b/towncrier/newsfragments/2977.misc @@ -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.