Current Release
This documentation covers the latest release of Islandora 7.x. For the very latest in Islandora, we recommend Islandora 8.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview

The Islandora Solr Facet Pages module creates an alphabetical "A to Z" browse from metadata indexed in Solr. The "facets" are the fields that Solr will search in to build the A-to-Z browse. You can set up multiple A-to-Z pages.

Dependencies

This module requires the following modules/libraries:

Downloads

Release Notes and Downloads

Code Repository

https://github.com/Islandora/islandora_solr_facet_pages

Installation

Install as usual, see this for further information.

Configuration

Configuration for this module is located in Administration > Islandora > Solr Index > Facet Pages (admin/islandora/search/islandora_solr/facet_pages).

To set up an A-to-Z browse page for any Solr field:

  1. Enter the name of an indexed Solr field of type "string" into Solr Field.
    1. See Appendix D for a list of Solr fields.
  2. Enter a label for the browse page for this Solr field.
  3. Enter a unique path ending for this browse page.
    1. The browse page will be automatically created at http://path.to.your.site/browse/[path]
  4. Click Save.

The example in the above image creates an A-to-Z subject browse:

 

Notes

  • When Facet search form is enabled, a text field (e.g. *_t or *_mt) must be used otherwise the search will not work. Additionally facets are presented in their raw, tokenized text form, which has an adverse affect on the display.

Theming

There are template files for the entire page and the results list. The alphabetical pager uses a theme function.

Template files can be overridden by a theme by copying the template file from the modules folder into the theme folder. You can override a theme per defined facet page by appending the path value to the template file. If you do, make sure to copy the original template file to your theme as well.

eg: islandora-solr-facet-pages-results.tpl.php islandora-solr-facet-pages-results--{your-path}.tpl.php

 

 

  • No labels