Difference between revisions of "SUNScholar/Search Indexes"

From Libopedia
Jump to navigation Jump to search
m
Line 12: Line 12:
  
 
==[[SUNScholar/Discovery/3.X|For DSpace 3.X]]==
 
==[[SUNScholar/Discovery/3.X|For DSpace 3.X]]==
 
==[[SUNScholar/Discovery/1.8.X|For DSpace 1.8.X]]==
 
  
 
==Tips==
 
==Tips==

Revision as of 22:17, 29 May 2015

Back to Indexes

PLEASE NOTE:

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.

For DSpace 4.X

For DSpace 3.X

Tips

Check Config

To check configuration, run the following:

$HOME/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

Change default boolean for searches

Edit the following file:

nano $HOME/source/dspace/solr/search/conf/schema.xml

Change the OR to AND for the following parameter:

<solrQueryParser defaultOperator="OR"/>

Then rebuild DSpace.