v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed) [proposed patch]

Aki Tuomi aki.tuomi at open-xchange.com
Mon Nov 2 15:13:57 EET 2020


> On 02/11/2020 15:11 PGNet Dev <pgnet.dev at 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 running `doveadm search`. I'll open a bug about this.
> > Dovecot FTS tokenization is not done, unless you have `use_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


More information about the dovecot mailing list