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: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-18 08:29 UTC by Reuben Farrelly
Modified: 2023-04-20 14:03 UTC (History)
5 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!