<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 9pt; font-family: Verdana,Geneva,sans-serif'>
<p>Further on this topic:</p>
<p><br /></p>
<p>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)</p>
<p>When choosing the BODY search, dovecot core calls the plugin ONCE (and never returns) (whereas the plugins returns properly the IDs)</p>
<p>This is based on GIT version. (previous versions were working properly)</p>
<p><br /></p>
<p>Looking for feedback</p>
<p>Thank you</p>
<div id="signature"> </div>
<p><br /></p>
<p id="reply-intro">On 2019-03-30 21:48, Joan Moreau wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="auto">
<div dir="auto">it is already on</div>
<div dir="auto"> </div>
<div id="aqm-original" style="color: black;">
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">On March 31, 2019 03:47:52 Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:</p>
<blockquote class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div> </div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>On 30 March 2019 21:37 Joan Moreau via dovecot <dovecot@dovecot.org> wrote:</div>
<div> </div>
<div> </div>
<p>Hi</p>
<p>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).</p>
<p>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)</p>
<p>What could be the root cause ?</p>
<p>Thank you</p>
<p><br /></p>
</blockquote>
<div> </div>
<div>does it help if you set</div>
<div> </div>
<div>plugin {</div>
<div> fts_enforced=yes</div>
<div>}</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</blockquote>
</div>
</div>
</div>
<div dir="auto"> </div>
</div>
</blockquote>
</body></html>