Re: Message searching in Dovecot

2023-04-20 Thread John Gateley via dovecot



On 4/19/23 4:34 PM, John Gateley via dovecot wrote:


Hello,

For mobile clients (gmail on Android), I need a server side searching 
solution.


...



Thank you everyone for the suggestions. I will try them and report back.


John

___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Message searching in Dovecot

2023-04-20 Thread Thomas Zajic

* Aki Tuomi via dovecot, 20.04.23 11:46


[...]
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.

If by that you mean migrating from [Fast]LRUCache to CaffeineCache, I found
PGNet Dev's post here [1] and Shawn Heisey's followup here [2] (including a
very handy script) extremely helpful when I did that last year:

[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
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Message searching in Dovecot

2023-04-20 Thread Aki Tuomi via dovecot


> On 20/04/2023 07:35 EEST Aki Tuomi via dovecot  wrote:
> 
> 
> 
> > On 20/04/2023 00:34 EEST John Gateley via dovecot  
> > wrote:
> > 
> > 
> > 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
> > ___
> > dovecot mailing list -- dovecot@dovecot.org
> > To unsubscribe send an email to dovecot-le...@dovecot.org
> 
> You can try https://github.com/slusarz/dovecot-fts-flatcurve .
> 
> Can you give more details on how Solr didn't work for you? I am using solr 
> myself.
> 
> Aki

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
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Message searching in Dovecot

2023-04-19 Thread Andre Rodier
On Wed, 2023-04-19 at 16:34 -0500, John Gateley via dovecot wrote:
> 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
> ___
> dovecot mailing list -- dovecot@dovecot.org
> To unsubscribe send an email to dovecot-le...@dovecot.org

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é

___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Message searching in Dovecot

2023-04-19 Thread Stuart Henderson
On 2023-04-19, John Gateley via dovecot  wrote:
> 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)

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'.

>   * Is there a different tool than Solr I should be using for this?

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.


___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Re: Message searching in Dovecot

2023-04-19 Thread Aki Tuomi via dovecot


 
 
  
    
  
  
   
On 20/04/2023 00:34 EEST John Gateley via dovecot  wrote:
   
   
 
   
   
 
   
   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 ___dovecot mailing list -- dovecot@dovecot.orgTo unsubscribe send an email to dovecot-le...@dovecot.org
  
  
    
  
  
   You can try https://github.com/slusarz/dovecot-fts-flatcurve .
  
  
    
  
  
   Can you give more details on how Solr didn't work for you? I am using solr myself.
  
  
    
  
  
   Aki
  
 

___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org


Message searching in Dovecot

2023-04-19 Thread John Gateley via dovecot

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
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org