Aegir Apache Solr
This tool gives Aegir the power to manage Solr servers and provision a Solr web app for any Drupal site. It includes a Tomcat implementation but can be extended to work with Jetty, etc. Patches welcome.
Provision Solr is the backend, Hosting Solr is the front-end.
Architecture
Solr is the service, Tomcat and Jetty are the servers. Just like HTTP is the service, and Apache and NGINX are the servers.
All of the Solr-specific code is in solr.service.inc
and solr.config.inc
. All of the tomcat code (and config template) is separated into the folder tomcat
.
Same goes with the configuration. Solr home directories are in ~/config/server_SERVER/solr/SITE
and the Tomcat application XML files go in ~/config/server_SERVER/tomcat/SITE.xml
.
Then, once the server and site are verified, there will be a solr server available at http://SERVER_NAME:8080/SITENAME
NOTE: These Solr webapps have no security on them by default, and we don't yet have automatic security enforcement. You can still customize your Tomcat or Jetty as normal. Please use caution.