FTS delays

Joan Moreau jom at grosjo.net
Tue Apr 2 06:38:02 EEST 2019


Further on this topic: 

When choosing any headers in the search box, dovecot core calls the
plugin TWICE (and returns the results quickly, but not immediatly after
getting the IDs from the plugins) 

When choosing the BODY search, dovecot core calls the plugin ONCE (and
never returns) (whereas the plugins returns properly the IDs) 

This is based on GIT version. (previous versions were working properly) 

Looking for feedback 

Thank you

On 2019-03-30 21:48, Joan Moreau wrote:

> it is already on 
> 
> On March 31, 2019 03:47:52 Aki Tuomi via dovecot <dovecot at dovecot.org> wrote: 
> 
> On 30 March 2019 21:37 Joan Moreau via dovecot <dovecot at dovecot.org> wrote: 
> 
> Hi 
> 
> When I do a FTS search (using Xapian plugin) in the BODY part, the plugins returns the matching IDs within few milliseconds (as seen in the log). 
> 
> However, roundcube (connected on dovecot) takes ages to show (headers only vie IMAP) the few results (I tested with a matching requests of 9 emails) 
> 
> What could be the root cause ? 
> 
> Thank you 
> 
> does it help if you set 
> 
> plugin { 
> fts_enforced=yes 
> } 
> 
> ---
> Aki Tuomi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190402/37dfa131/attachment.html>


More information about the dovecot mailing list