Difference between revisions of "SUNScholar/Search Indexes"

From Libopedia
Jump to navigation Jump to search
Line 3: Line 3:
 
</center>
 
</center>
 
==Requirements==
 
==Requirements==
<font color="red">'''Before attempting SOLR discovery setup please make sure the following are correct:'''</font>
+
<font color="red">'''Before attempting "Discovery" setup please make sure the following are correct:'''</font>
 
#[[SUNScholar/Prepare_Ubuntu/S05#Step_5.2.1:_Setup_.22authbind.22_for_Tomcat|Tomcat is listening on TCP port 80.]]
 
#[[SUNScholar/Prepare_Ubuntu/S05#Step_5.2.1:_Setup_.22authbind.22_for_Tomcat|Tomcat is listening on TCP port 80.]]
 
#[[SUNScholar/Install_DSpace/S08|The SOLR webapp is correctly published.]]
 
#[[SUNScholar/Install_DSpace/S08|The SOLR webapp is correctly published.]]
 +
 
==Introduction==
 
==Introduction==
 
Since DSpace version =>1.8.X, a new "Discovery" search facility using the SOLR DB service was introduced.
 
Since DSpace version =>1.8.X, a new "Discovery" search facility using the SOLR DB service was introduced.

Revision as of 15:34, 30 May 2015

Back to Indexes

Requirements

Before attempting "Discovery" setup please make sure the following are correct:

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

Introduction

Since DSpace version =>1.8.X, a new "Discovery" search facility using the SOLR DB service was introduced.

With DSpace versions =>4.X "Discovery" is now enabled by default.

"Discovery" offers new browse and search options that were only possible with code customisations in the past.

For DSpace 5.X

For DSpace 4.X

PLEASE NOTE:

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.

References