Filter to return only one site on Multisite Search tab - Apachesolr_multisitesearch module

This module is dependent on the apachesolr_multisitesearch module.

Problem:
Had an apache solr index that contained multiple site indexes. On various sites contained in this index we needed results from one and only one site contained in this index. Also, needed the to rename the default tab.

Resolution:
Create a small module that adds a new hash filter for multisitesearch.

First get the site's hash. To do this utilize drush:

  1. Go to directory (or use drush alias) for site you are wanting to show up.

blogs: 

Pages

Subscribe to Front page feed