Steve Dondley
2021-Apr-05 12:15 UTC
Sharing a single solr server between multiple dovecot servers
I am brand new to solr and I'm interested in using sharing it between several dovecot machines I'm running. I'm looking for some big picture guidance on what I need to do to configure solr to work with the different dovecot machines. So far, I managed to set up a single "dovecot" core on the solr server and it is working with one of my dovecot machines. I'm not sure how to proceed from here as I'm very unclear on how solr maintains separate indexes for different users on my different machines. Some basic questions I have are: 1) Do I need a new core for each of the dovecot machines I want to use with solr? 2) If not, how does solr ensure indexes for the different dovecot user do not get comingled? 3) If yes, how do I configure dovecot to tell it which solr core to use? Thanks.
Aki Tuomi
2021-Apr-06 06:49 UTC
Sharing a single solr server between multiple dovecot servers
On 5.4.2021 15.15, Steve Dondley wrote:> I am brand new to solr and I'm interested in using sharing it between > several dovecot machines I'm running. I'm looking for some big picture > guidance on what I need to do to configure solr to work with the > different dovecot machines. So far, I managed to set up a single > "dovecot" core on the solr server and it is working with one of my > dovecot machines. > > I'm not sure how to proceed from here as I'm very unclear on how solr > maintains separate indexes for different users on my different > machines. Some basic questions I have are: > > 1) Do I need a new core for each of the dovecot machines I want to use > with solr? > 2) If not, how does solr ensure indexes for the different dovecot user > do not get comingled? > 3) If yes, how do I configure dovecot to tell it which solr core to use? > > Thanks. >If the dovecot servers are serving same users, you can share the server. If not, then you need to use multiple cores. Each core has it's own entry point (URL). Aki