Alessio Cecchi
2022-Jan-11 13:21 UTC
FTS flatcurve not index messages when SEARCH run on Virtual Mailboxes
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 alessio at email.net '*'"
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 @ http://www.qboxmail.it
https://www.linkedin.com/in/alessice
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dovecot.org/pipermail/dovecot/attachments/20220111/596719cc/attachment.htm>
Aki Tuomi
2022-Jan-11 14:27 UTC
FTS flatcurve not index messages when SEARCH run on Virtual Mailboxes
> On 11/01/2022 15:21 Alessio Cecchi <alessio at skye.it> 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 alessio at email.net '*'" 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 @ http://www.qboxmail.it > https://www.linkedin.com/in/alessiceHi! plugin { fts_autoindex = yes fts_enforced = yes } probably fixes your issue. Aki