SUNScholar/Search Indexes

From Libopedia
Jump to navigation Jump to search
Back to Customisation

Introduction

Since DSpace version 1.8.X. and greater, the search indexes are delivered via the "Discovery" facility using the SOLR service.

The Discovery Module enables faceted searching & browsing for your repository.

DSpace Discovery offers very powerful browse and search configurations that were only possible with code customization in the past.

With DSpace versions =>4.X Discovery is now the default.

Requirements

Before attempting setup please make sure the following are correct:

  1. Tomcat is listening on TCP port 80.
  2. The SOLR webapp is correctly published.

For DSpace 4.X

For DSpace 3.X

For DSpace 1.8.X

Tips

To check configuration, run the following:

/home/dspace/bin/dspace dsrun org.dspace.discovery.configuration.DiscoveryConfigurationService

See below for an example output.

50
default
Facets:
	advisor
		dc.contributor.advisor
	author
		dc.contributor.author
		dc.creator
	subject
		dc.subject.*
	dateIssued
		dc.date.issued
Search filters
		dc.title
		dc.contributor.advisor
		dc.contributor.author
		dc.creator
		dc.subject.*
		dc.date.issued
		dc.type
		dc.description.provenance
Recent submissions configuration:
	Metadata sort field: dc.date.accessioned
	Max recent submissions: 20

Check SOLR webapp operation

If you have problems with the SOLR webapp, then complete the following to check its operation.

Install the "lynx" application.

sudo apt-get install lynx

Then type the following in the console:

lynx http://localhost/solr

You should get the following:

Lynx-solr.png

If not debug the solr webapp until you can.

Remember to restart the Tomcat server for each change you make to a webapp configuration.

SOLR Help

General

Maintaining SOLR

DSpace Settings

Querying the SOLR DB

Tips