Difference between revisions of "SUNScholar/Search Indexes"
Jump to navigation
Jump to search
m |
m (→Tips) |
||
| Line 59: | Line 59: | ||
<solrQueryParser defaultOperator="OR"/> | <solrQueryParser defaultOperator="OR"/> | ||
Then [[SUNScholar/Rebuild_DSpace|rebuild DSpace]]. | Then [[SUNScholar/Rebuild_DSpace|rebuild DSpace]]. | ||
| + | ==References== | ||
| + | *https://wiki.duraspace.org/display/DSDOC4x/Discovery | ||
| + | *https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-StructureSummary | ||
| + | *https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-DSpace4.0 | ||
| + | *https://wiki.duraspace.org/display/DSDOC4x/Legacy+methods+for+re-indexing+content | ||
| + | *https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl | ||
Revision as of 15:21, 30 May 2015
Back to Indexes
Contents
Requirements
Before attempting SOLR discovery setup please make sure the following are correct:
Introduction
Since DSpace version =>1.8.X, a new "Discovery" facility using the SOLR DB service was introduced.
With DSpace versions =>4.X Discovery is now enabled by default.
"Discovery" offers new powerful browse and search options that were only possible with code customisations in the past.
For DSpace 5.X
For DSpace 4.X
PLEASE NOTE:
- https://jira.duraspace.org/browse/DS-2482
- http://dspace.2283337.n4.nabble.com/Recent-submissions-Discovery-duplicated-entries-td4660235.html
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
- https://wiki.duraspace.org/display/DSDOC4x/Discovery
- https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-StructureSummary
- https://wiki.duraspace.org/display/DSDOC4x/Discovery#Discovery-DSpace4.0
- https://wiki.duraspace.org/display/DSDOC4x/Legacy+methods+for+re-indexing+content
- https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl