<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Il 11/01/22 15:27, Aki Tuomi ha
scritto:<br>
</div>
<blockquote type="cite"
cite="mid:443550465.21997.1641911276961@appsuite-dev-gw1.open-xchange.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">On 11/01/2022 15:21 Alessio Cecchi <a class="moz-txt-link-rfc2396E" href="mailto:alessio@skye.it"><alessio@skye.it></a> wrote:
Hi,
I'm testing FTS flatcurve plugin in order to understand if I can switch from FTS Solr to flatcurve.
In my configuration I have enabled Virtual mailboxes and for search in all folders I just SEARCH on Virtual/All folder. I this (virtual) folder is not indexed with FTS Solr Dovecot start to index it (or all real folders).
But with FTS flatcurve when I SEARCH on Virtual/All for the first time the indexer process does not start and the search return empty. Only if I run manually "doveadm index -q -u <a class="moz-txt-link-abbreviated" href="mailto:alessio@email.net">alessio@email.net</a> '*'" flatcurve find messages.
Can flatcurve have the same feature as Solr for Virtual mailboxes?
Here a sample of my configuration:
namespace Virtual {
hidden = yes
list = no
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
prefix = Virtual/
separator = /
subscriptions = no
}
namespace inbox {
[...]
mailbox virtual/All {
comment = All my messages
special_use = \All
}
}
# cat /etc/dovecot/virtual/All/dovecot-virtual
*
all
Thanks
--
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a>
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Hi!
plugin {
fts_autoindex = yes
fts_enforced = yes
}
probably fixes your issue.
Aki
</pre>
</blockquote>
<p>Hi Aki,</p>
<p>in 90-plugin.conf I have already:</p>
<p> fts = flatcurve<br>
fts_autoindex = yes<br>
fts_enforced = yes (with fts_solr I'm using body instead
and works fine)<br>
</p>
<p>but only when I SEARCH on a specific mailbox index-worker start
to index messages.</p>
<p>When I SEARCH on Virtual/All result are empty or contain only
messages from previously index mailboxes. I notice also that when
SEARCH on Virtual/All directory "fts-flatcurve" is created but is
empty:</p>
<p># du -sh .Sent/fts-flatcurve/<br>
20K .Sent/fts-flatcurve/</p>
<p>And only when index/SEARCH run directly on this folder
fts-flatcurve is populated:<br>
</p>
<p># du -sh .Sent/fts-flatcurve/<br>
27M .Sent/fts-flatcurve/<br>
</p>
<p>I hope that fts-flatcurve will follow the same behavior of
fts-solr about dovecot settings.</p>
<p>Thanks<br>
</p>
<pre class="moz-signature" cols="72">--
Alessio Cecchi
Postmaster @ <a class="moz-txt-link-freetext" href="http://www.qboxmail.it">http://www.qboxmail.it</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/alessice">https://www.linkedin.com/in/alessice</a></pre>
</body>
</html>