All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Another example: Using the standard search, a user would search for something like [wetland + "dc.author=Mitsch, William J" + dc.subject="water quality" ]. With filtered search, they can start by searching for [wetland ], and then filter the results by the other attributes, author and subject.
...
...
config/modules/discovery.cfg
and config/spring/api/discovery.xml
...
Info |
---|
Starting from DSpace 3.0, Discovery is also supported in JSPUI. |
...
Bugfixes and other changes
You can independently enable Discovery for XMLUI or JSPUI. Follow the steps below.
...
config/xmlui.xconf
SearchArtifacts
Uncomment: Discovery
Code Block | ||||
---|---|---|---|---|
| ||||
<xmlui> <aspects> <!-- @deprecated: the Artifact Browser has been devided into ViewArtifacts, BrowseArtifacts, SearchArtifacts <aspect name="Artifact Browser" path="resource://aspects/ArtifactBrowser/" /> --> <aspect name="Displaying Artifacts" path="resource://aspects/ViewArtifacts/" /> <aspect name="Browsing Artifacts" path="resource://aspects/BrowseArtifacts/" /> <!--<aspect name="Searching Artifacts" path="resource://aspects/SearchArtifacts/" />--> <aspect name="Administration" path="resource://aspects/Administrative/" /> <aspect name="E-Person" path="resource://aspects/EPerson/" /> <aspect name="Submission and Workflow" path="resource://aspects/Submission/" /> <aspect name="Statistics" path="resource://aspects/Statistics/" /> <!-- To enable Discovery, uncomment this Aspect that will enable it within your existing XMLUI Also make sure to comment the SearchArtifacts aspect as leaving it on together with discovery will cause UI overlap issues--> <aspect name="Discovery" path="resource://aspects/Discovery/" /> <!-- This aspect tests the various possible DRI features, it helps a theme developer create themes --> <!-- <aspect name="XML Tests" path="resource://aspects/XMLTest/"/> --> </aspects> |
Add discovery to the list of event.dispatcher.default.consumers
Code Block |
---|
# default synchronous dispatcher (same behavior as traditional DSpace) event.dispatcher.default.class = org.dspace.event.BasicDispatcher #event.dispatcher.default.consumers = versioning, search, browse, eperson, harvester event.dispatcher.default.consumers = versioning, search, browse, discovery, eperson, harvester |
Change recent.submissions.count to zero
Code Block |
---|
#Put the recent submissions count to 0 so that discovery can use it's recent submissions, # not doing this when discovery is enabled will cause UI overlap issues #How many recent submissions should be displayed at any one time #recent.submissions.count = 5 recent.submissions.count = 0 |
If all of your traffic runs over port 80, then you need to remove the port from the URL
Code Block |
---|
##### Search Indexing ##### solr.search.server = http://localhost/solr/search |
From the command line, navigate to the [dspace] directory and run the command below to index the content of your DSpace instance into Discovery.
Code Block |
---|
.[dspace]/bin/dspace update-discovery-index |
Panel |
---|
NOTE: This step may take some time if you have a large number of items in your repository. |
...
Note |
---|
After modifying sidebarFacets and searchFilters, don't forget to reindex existing items by running |
Below is an example of how one of these lists can be configured. It's important that each of the bean references corresponds to the exact name of the earlier defined facets, filters or sort options.
...
The rendering of search results is no longer handled by the METS format but uses a special type of list named "TYPE_DSO_LIST". Each metadata field (& fulltext if configured) is added in the DRI and IF the field contains hit higlighting the Java code will split up the string & add DRI highlights to the list. The XSL for the themes also contains special rendering XSL for the DRI; for Mirage, the changes are located in the discovery.xsl file. For themes using the old themes based on structural.xsl, look for the template matching "dri:list[@type='dsolist']".
...
...
Warning |
---|
This paragraph only apply to XMLUI. The JSPUI does not currently support the "More like this" feature. |
The '"more like this'"-configuration element contains all the settings for displaying related items on an item display page.
Below is an example of the "more like this" configuration.
Code Block | ||
---|---|---|
| ||
<property name="moreLikeThisConfiguration"> <bean class="org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration"> <property name="similarityMetadataFields"> <list> <value>dc.contributor.author</value> <value>dc.creator</value> <value>dc.subject</value> </list> </property> <!--The minimum number of matching terms accrossacross the metadata fields above before an item is found as related --> <property name="minTermFrequency" value="5"/> <!--The maximum number of related items displayed--> <property name="max" value="3"/> </bean> </property> |
...