On 02/11/2020 15:11 PGNet Dev <pgnet.dev@gmail.com> wrote:
On 11/2/20 12:44 AM, Aki Tuomi wrote:
you should try removing use_libfts from your config line and let solr do that part.
sry, i'm a bit confused.
you'd suggested I _add_ it,
https://dovecot.org/pipermail/dovecot/2020-October/120258.html
I can reproduce your problem with the
fts lookup
command. Luckily it's equivalent to runningdoveadm search
. I'll open a bug about this. Dovecot FTS tokenization is not done, unless you haveuse_libfts
in fts_solr setting, in your case fts_solr = url=https://solr.example.com:8984/solr/dovecot/ use_libfts Without this, everything is sent to to solr as-is, which is then expected to do all the work.So what's the recommendation? use use_libfts, or not?
It's a choice. You can let solr perform the tokenization etc. or you can let dovecot do it. There is no recommendation when using solr.
It seems that use_libfts is broken with solr due to reasons, so I guess the only option for now is not to use it.
Aki