This documentation refers to an earlier version of Islandora. https://wiki.duraspace.org/display/ISLANDORA/Start is current.

Overview

The Islandora Solr module provides a way to configure the Islandora search functions, the search results display, and the display of metadata on object pages.

Islandora Solr and the Islandora search results search the metadata, full text, and OCR of objects in the Fedora Commons repository. In a default Islandora installation, the Islandora search does not search Drupal nodes or other Drupal-only content.

 

Tutorials

In order to use the Islandora Solr module, Solr and GSearch must already be installed and working. See the tutorials below for instructions.

Search & Discovery in Islandora (Copy)

milestone 6 - Installing Solr and GSearch (Copy)

Customizing GSearch and Solr (Copy)

Upgrading From Older Versions of Solr and GSearch (Copy)

Dependencies

Installation

Install as usual, see this for further information.

Configuration

Configuration settings for the Islandora Solr Module are in Administration > Islandora > Solr index (admin/islandora/search/islandora_solr).

  1. Set the Solr URL to http://path.to.your.site:8080/solr.
  2. Leave the Request handler as "Let Solr decide" unless you have defined a different request handler in the solrconfig.xml file.
  3. Click "Save Solr configuration."

Configuration

After you have successfully set up the Solr URL on the Solr Index tab, you can configure search results and metadata display on these tabs:

  1. Solr settings - Configure the Islandora search results display profile(s), including fields to display in the search results, sort and facet settings, query settings, required fields, and the Advanced Search block.
  2. Metadata display - Configure which metadata fields display on Islandora object pages for each solution pack when the "Details" option is expanded. Requires the Islandora Solr Metadata module.
  3. Facet pages - Create alphabetical browsing pages based on a facet from Solr (for example, an alphabetical browse of results by author name or topic). Requires the Islandora Solr Facet Pages module. 
  4. RSS settings - Configure the fields included in the RSS display of search results. 
  5. Table profile settings - Configure the Table Display Profile (if selected in "Solr settings").

Breadcrumbs

To enable breadcrumbs, browse to Administration » Islandora » Configuration and choose Islandora Solr under Breadcrumb generation.

FAQ

Q. Why are some dates not rendered correctly?

A. On 32 bit systems, the PHP function strtotime() has a limited range. Typically from Fri, 13 Dec 1901 20:45:54 UTC to Tue, 19 Jan 2038 03:14:07 UTC. For more information see this.

Q. Why can't I connect to Solr via https?

A. The Apache Solr PHP Client that we use does not support https connection to Solr. ISLANDORA-646 seeks to remedy this. 

QAdvanced search on PID worked in 6.x. Why do I get no results for the same search in 7.x?

A. In 7.x the colon in a PID must be escaped (i.e., islandora:34 becomes islandora:34) or the entire query must be wrapped in quotation marks (i,e., "islandora:34").