testing/dovecot-fts-flatcurve lacks snowball support
Hi,
with fts_filters_en = lowercase snowball english-possessive stopwords
one gets:
Error: fts-flatcurve: fts_filter_snowball: Snowball support not built in
Error: fts: Failed to initialize backend 'flatcurve': fts-flatcurve: Invalid settings
From the build logs it looks like the dovecot package has what's required:
https://build.alpinelinux.org/buildlogs/build-edge-x86_64/main/dovecot/dovecot-2.3.21-r13.log
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-mail -I../../src/lib-fts -DUDHRDIR=\""../../src/lib-fts"\" -DDATADIR=\"/usr/share/dovecot\" -DTEST_STOPWORDS_DIR=\""../../src/lib-fts/stopwords"\" -std=gnu99 -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=keep -mindirect-branch=keep -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT fts-filter-stemmer-snowball.lo -MD -MP -MF .deps/fts-filter-stemmer-snowball.Tpo -c -o fts-filter-stemmer-snowball.lo fts-filter-stemmer-snowball.c
Snowball is a must have to get decent performance out of FTS. Can we have --with-stemmer --with-textcat --with-icu
in https://git.alpinelinux.org/aports/tree/testing/dovecot-fts-flatcurve/APKBUILD please? as per https://slusarz.github.io/dovecot-fts-flatcurve/requirements.html