A module for installing Solr for Drupal.




5,563 latest version

3.8 quality score

Version information

  • 4.0.1 (latest)
  • 4.0.0
  • 3.0.0-beta
  • 3.0.0
  • 2.0.0-beta
  • 2.0.0
  • 1.0.1
  • 1.0.0
  • 0.0.1
released Jul 3rd 2019

Start using this module

Tags: solr, drupal


zivtech/drupal_solr — version 4.0.1 Jul 3rd 2019

Drupal Solr

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.

Basic usage

include drupal_solr

Advanced usage

class { 'drupal_solr':
  user => 'tomcat6',
  group => 'some_website_admin_group',


This module relies on puppetlabs/vcsrepo and rodjek/logrotate.

Using the setup once installed

Creating a solr instance

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.

Removing a solr instance

You can remove the solr instance from tomcat and delete all data inside the index with the following command:

remove-solr-instance mysite