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