Hello,
For mobile clients (gmail on Android), I need a server side searching solution.
A few months ago, I tried getting Solr to work with Dovecot, but failed.
The instructions here https://doc.dovecot.org/configuration_manual/fts/solr/ are quite out of date, they reference Debian 8 and 9 (current version 11), and Solr 7.7 (current version 9.2)
My Solr experience is pretty much zero.
Questions/Requests:
- Is there a different tool than Solr I should be using for this?
- Does anyone have a recent version of Solr and Debian working?
- If you do, would you be willing to help me?
- I cannot afford much, this is a home mailserver for my wife and I, but I could pay a small consulting fee.
I use ansible to deploy the server, I'd be willing to contribute the playbooks somewhere for documentation, or help with the docs.
Thanks!
John
I now updated my Solr to 9.2. It took a little bit more effort, but I'll see if I can update our docs to indicate how you could use Solr 9.
Biggest issue in my mind is that you will need to tell Solr to update it's indexes (somehow) when using version 8 before upgrading to 9. Because the older indexes are no longer compatible with 9.
Other than that, it was pretty simple to get it working in the end.
Aki
- Aki Tuomi via dovecot, 20.04.23 11:46
[1] https://dovecot.org/pipermail/dovecot/2022-May/124701.html [2] https://dovecot.org/pipermail/dovecot/2022-May/124711.html
[...] Other than that, it was pretty simple to get it working in the end.
ACK, same here. :-) Have not yet upgraded to Solr 9.x, though, I'm currently still at 8.11.2.
Bye, Thomas
On 2023-04-19, John Gateley via dovecot <dovecot@dovecot.org> wrote:
There are some posts on this list with updated config files, see e.g. https://marc.info/?l=dovecot&m=167089659519693&w=2 or search the archives for 'solr'.
dovecot-fts-flatcurve is much simpler to configure. Downside is that the search and indexing is all done in-process so Dovecot processes can grow quite large.
On Wed, 2023-04-19 at 16:34 -0500, John Gateley via dovecot wrote:
Hello, John,
I successfully use Xapian, by the way included in Debian standard packages.
If you need real code example, see here: https://github.com/progmaticltd/homebox/tree/main/roles/dovecot
The project is a set of Ansible scripts to deploy a mail server from scratch, on Debian.
Kind regards, André
participants (5)
-
Aki Tuomi
-
Andre Rodier
-
John Gateley
-
Stuart Henderson
-
Thomas Zajic