Hello All, I always used dovecot and I'm pretty happy with it, but recently I changed OS (to ubuntu 18) and to get dovecot LTS with lucene (the default I was using on my previous arch installation) I needed to build from source the version 2.3.10 (the one that came with the repos was older and clucene was not actually supported) The problem is that the Clucene is not behaving well, It indexes only some mails but definitely not all according to my tests (there are also strange assertion errors in the logs) I also tried xapian fts index but is very slow indexing and definitely doesn't seem to work. The problem with solr fts is that solr doesn't even start on my tiny system (odroid C2 with 2GB RAM) and anyway I don't want to bloat all the system for the indexing if possible.. Anyone can suggest me a proper minimal and working configuration? Thank you Danilo -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200623/c79d2a07/attachment.html>
I am interested to know what problem you face on fts-xapian ( I am the developer) On 2020-06-23 12:39, Danilo Tomasoni wrote:> Hello All, > > I always used dovecot and I'm pretty happy with it, but recently I changed OS (to ubuntu 18) and to get dovecot LTS with lucene (the default I was using on my previous arch installation) I needed to build from source the version 2.3.10 (the one that came with the repos was older and clucene was not actually supported) > > The problem is that the Clucene is not behaving well, It indexes only some mails but definitely not all according to my tests (there are also strange assertion errors in the logs) > > I also tried xapian fts index but is very slow indexing and definitely doesn't seem to work. > > The problem with solr fts is that solr doesn't even start on my tiny system (odroid C2 with 2GB RAM) > > and anyway I don't want to bloat all the system for the indexing if possible.. > > Anyone can suggest me a proper minimal and working configuration? > > Thank you > > Danilo-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200623/65112cec/attachment.html>
For xapian setup I followed the readme in the github repo. After the dovecot restart, the main problem was that the initial batch-indexing is very slow. When I sent my first email I thought fts-xapian was just looping endlessly because I wasn't unable nor to search, nor to move emails from folders (I'm using roundcube 1.4.3 as a web client and k9-mail as an android client) but now that a full day passed, the system is in a better shape: I can search and also move emails from folders, even if expecially the process of moving to spam folder or to junk folder is slow.. but this maybe also for the learn-spam hooks configured with sieve. Probably I was just used to a faster indexing and search speed with clucene. Since today things does seem to work even if the performance (till now) seem to be worse I will stick with xapian. Thank you for your help! Danilo On 2020-06-23 16:09, Joan Moreau wrote:> I am interested to know what problem you face on fts-xapian ( I am the developer) > > On 2020-06-23 12:39, Danilo Tomasoni wrote: > >> Hello All, >> >> I always used dovecot and I'm pretty happy with it, but recently I changed OS (to ubuntu 18) and to get dovecot LTS with lucene (the default I was using on my previous arch installation) I needed to build from source the version 2.3.10 (the one that came with the repos was older and clucene was not actually supported) >> >> The problem is that the Clucene is not behaving well, It indexes only some mails but definitely not all according to my tests (there are also strange assertion errors in the logs) >> >> I also tried xapian fts index but is very slow indexing and definitely doesn't seem to work. >> >> The problem with solr fts is that solr doesn't even start on my tiny system (odroid C2 with 2GB RAM) >> >> and anyway I don't want to bloat all the system for the indexing if possible.. >> >> Anyone can suggest me a proper minimal and working configuration? >> >> Thank you >> >> Danilo-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200624/a879bbd0/attachment.html>