On 2021-04-05 07:49 AM, Steve Dondley wrote:
OK, I got solr working on a new virtual machine with a healthier 4 GB of ram. Initially, I experienced the same slowness as before as on the 1 GB machine. I went back and reviewed the documentation at https://wiki.dovecot.org/Plugins/FTS/Solr and realized that I missed a critical step configuring solr with the proper xml config files.
After doing this, the search time is well below one second now.
I just want to document for others that might stumble on this that I switched dovecot to use the local 1 GB machine solr installation and the search was just as quick as using solr on the 4 GB machine. Note that the 1 GB machine is very lightly loaded, however.
On 2021-04-05 06:12 AM, Steve Dondley wrote:
Does you server have enough ram?
I think this may be the issue. I only have 1 GB of ram on the machine and I was just reading a blog post recommending at least 4 GB. I think what I'll do is set up a separate instance for solr and use that instead of running it on the same machine as dovecot.
Thanks for your feedback.