This installs and configures Solr running under Tomcat, and configures Dovecot to use the dovecot-solr plugin for all search and indexing. This dramatically improves search performance on large mailboxes.