As per: https://dovecot.org/pipermail/dovecot/2022-February/124112.html "fts-lucene and fts-squat are going to be removed in next major release, which is going to be released this year. We are planning to add xapian based replacement for lucene." A very good replacement fot fts-lucene may be dovecot-fts-flatcurve, that has the only build requirement of Xapian - which is already in the Gentoo portage tree. https://github.com/slusarz/dovecot-fts-flatcurve This report is therefore to request and hopefully track the creation of an ebuild of the flatcurve package. This is very similar in terms of packaging to the pigeonhole package which is already integrated into the dovecot ebuild (I've seen comments around this being split out into a separate package, this would be another consumer for that capability).
Looks good but I'll wait for the actual dovecot release with flatcurve support to decide. In the meantime, anyone is, of course, free to package it.
(In reply to Eray Aslan from comment #1) > Looks good but I'll wait for the actual dovecot release with flatcurve > support to decide. In the meantime, anyone is, of course, free to package it. fts-flatcurve support is in dovecot/core master branch now (and fts-lucene is removed) as of the upstream commits made on 26 April 2022. See https://github.com/dovecot/core/commits/main
Anyone tested how is it with performance? My last update broke Dovecot with fts-squat (segfaults) so I replaced with https://github.com/filiphanes/fts-elastic and the search is instant now (with thousands of emails). Curious to try this, if it's same fast it's better because it wouldn't need elasticsearch.
I've got a FTS-Xapian package over in GURU[1], but it's 3rd-party software by an independent developer[2]. If Flatcurve is included and blessed by Dovecot, that's a better option, all other things being equal (IMHO). But if anyone wants a Xapian based FTS for Dovecot in the near-term, it's over in GURU. [1] https://github.com/gentoo/guru/tree/master/net-mail/dovecot-fts-xapian [2] https://github.com/grosjo/fts-xapian
(In reply to Philippe Chaintreuil from comment #4) > I've got a FTS-Xapian package over in GURU[1], but it's 3rd-party software > by an independent developer[2]. If Flatcurve is included and blessed by > Dovecot, that's a better option, all other things being equal (IMHO). But > if anyone wants a Xapian based FTS for Dovecot in the near-term, it's over > in GURU. > > [1] https://github.com/gentoo/guru/tree/master/net-mail/dovecot-fts-xapian > [2] https://github.com/grosjo/fts-xapian Thanks for sharing Philippe!
Hi, Better late than never and while waiting for version 2.4 of dovecot, I pushed an ebuild in guru : net-mail/dovecot-fts-flatcurve
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c34e0da91c585079af93870da6df93794ee6e75 commit 5c34e0da91c585079af93870da6df93794ee6e75 Author: Nicolas PARLANT <nicolas.parlant@parhuet.fr> AuthorDate: 2024-10-22 23:29:49 +0000 Commit: Nicolas PARLANT <nicolas.parlant@parhuet.fr> CommitDate: 2024-10-22 23:30:59 +0000 net-mail/dovecot-fts-flatcurve: new package, add 1.0.5 Closes: https://bugs.gentoo.org/833592 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> net-mail/dovecot-fts-flatcurve/Manifest | 1 + .../dovecot-fts-flatcurve-1.0.5.ebuild | 46 ++++++++++++++++++++++ net-mail/dovecot-fts-flatcurve/files/90-fts.conf | 40 +++++++++++++++++++ net-mail/dovecot-fts-flatcurve/metadata.xml | 14 +++++++ 4 files changed, 101 insertions(+)