Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833592 - Package Request - Dovecot FTS Flatcurve (to replace deprecated fts-lucene and fts-squat in net-mail/dovecot )
Summary: Package Request - Dovecot FTS Flatcurve (to replace deprecated fts-lucene and...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-18 08:29 UTC by Reuben Farrelly
Modified: 2024-10-23 10:25 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Farrelly 2022-02-18 08:29:10 UTC
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).
Comment 1 Eray Aslan gentoo-dev 2022-03-16 07:16:02 UTC
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.
Comment 2 Reuben Farrelly 2022-04-28 08:55:24 UTC
(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
Comment 3 Tomáš Mózes 2022-05-01 19:54:42 UTC
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.
Comment 4 Philippe Chaintreuil 2023-04-20 13:33:51 UTC
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
Comment 5 Tomáš Mózes 2023-04-20 14:03:09 UTC
(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!
Comment 6 Nicolas PARLANT 2024-10-22 23:45:31 UTC
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
Comment 7 Larry the Git Cow gentoo-dev 2024-10-23 10:25:30 UTC
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(+)