This project sets up an instance of Solr configured to run with SOLR.
It installs SOLR on tomcat6 on Ubuntu based systems. Patches to support other architectures are welcome. Patches to add testing are especially welcome.
Just run puppet module install zivtech/drupal_solr
.
include drupal_solr
class { 'drupal_solr':
user => 'tomcat6',
group => 'some_website_admin_group',
}
This module relies on puppetlabs/vcsrepo and rodjek/logrotate.
This module supports creating multiple solr instances all of which are added to and managed by tomcat. Once you use this module to install solr you can create specific instances like so:
create-solr-instance mysite 7 sapi
This will create a solr instance with the search_api schema appropriate for Drupal 7.
You can remove the solr instance from tomcat and delete all data inside the index with the following command:
remove-solr-instance mysite