Module for solr searching within a particular Fedora collection.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Islandora Collection Search

Islandora Collection Search is a Drupal module that allows for searching within a collection using Solr. It provides a more robust replacement for islandora_solr_search's 'Simple Search' block, and it automatically handles appropriate Solr re-indexes when records are moved between collections in Fedora.


This module requires the following modules/libraries:


  1. Install as usual, see this for further information.
  2. Ensure that your xslt used by gsearch will index the ancestors_ms field. If you are using discoverygarden's basic-solr-config, make the following changes in your foxmlToSolr.xslt:
    1. Find the section that looks like this, and make it look like this:
    1. Find the section that looks like this, and uncomment the code. Leave the comments as comments.
    2. Find the section that looks like this, and uncomment it.
    3. After making these changes, Fedora will need to be restarted, and re-indexed.
  3. Set up the 'Islandora Collection Search' block. It can replace the standard 'Islandora simple search' block.


Configuring the Module

The configuration page for the module can be found at

  • The 'Ancestor field' is set to 'ancestors_ms' by default.
  • Configure the 'GSearch Config' section with the proper credentials.
  • The options in the 'Collections' section of that page provide ways to configure the UI, such as having a drop-down menu of certain collections that can be searched from anywhere on your site where the 'Collection Search' block is enabled.

Configuring the Block

The configuration page for the 'Islandora Collection Search' block can be found at The main configuration you might want to do is to define which pages display the block for which Roles and/or Users. That can be managed in the 'Visibility settings' section of this block's configuration page.


This module provides a block that works like the 'Simple Search' block, but it can narrow the search to objects within a given collection. However, it also has the option to search all collections, which would result in functionality identical to the 'Simple Search' block.

If all the Installation and Configuration steps have been successfully completed, the powerful and user friendly 'Collection Search' block should now be available.


Having problems or solved a problem? Contact discoverygarden.


Current maintainers:


If you would like to contribute to this module, please check out our helpful Documentation for Developers info, Developers section on, and contact discoverygarden.