Page History
...
Tag cloud facet is another way to display facets of your repository in a “tag cloud” "tag cloud" form in which the importance of each tag is show with font size or color. This format is useful for quickly perceiving the most prominent terms.
This is a classic “tag cloud” "tag cloud" facet in a DSpace repository.
Discovery Changelist
DSpace
...
5.
...
0
The new JSPUI-only tag cloud facet feature is disabled by default. In order to enable it, you will need to set up the corresponding processor that the PluginManager will load to actually perform the tag cloud query on the relevant pages. This is configured in the dspace.cfg configuration file using the following properties:
- plugin.sequence.org.dspace.plugin.CommunityHomeProcessor
- plugin.sequence.org.dspace.plugin.CollectionHomeProcessor
- plugin.sequence.org.dspace.plugin.SiteHomeProcessor
The tag cloud has been declared there for you but it is commented out.
DSpace 4.0
Info |
---|
Starting from DSpace 4.0, Discovery is the default search and browse solution for DSpace. |
General improvements:
- Browse interfaces now also use Discovery index
Info |
---|
Starting from DSpace 4.0, Discovery is the default search and browse solution for DSpace. |
General improvements:
- Browse interfaces now also use Discovery index (rather than the legacy Lucene index)
- "Did you means" spell check aid for search
...
- Configuration moved from dspace.cfg into
config/modules/discovery.cfg
andconfig/spring/api/discovery.xml
- Individual communities and collections can have their own Discovery configuration.
- Tokenization for Auto-complete values (see SearchFilter)
- Alphanumeric sorting for Sidebarfacets
- Possibility to avoid indexation of specific metadata fields.
- Grouping of multiple metadata fields under the same SidebarFacet
DSpace 1.7
- Sidebar browse facets that can be configured to use contents from any metadata field
- Dynamically generated timespans for dates
- Customizable "recent submissions" view on the repository homepage, collection and community pages
- Hit highlighting & search snippets
DSpace 5.0
However, the tag cloud facet feature is disabled by default. In order to enable it, you will need to set up the corresponding processor that the PluginManager will load to actually perform the tag cloud query on the relevant pages. This is configured in the dspace.cfg configuration file with the following options:
- plugin.sequence.org.dspace.plugin.CommunityHomeProcessor
- plugin.sequence.org.dspace.plugin.CollectionHomeProcessor
- plugin.sequence.org.dspace.plugin.SiteHomeProcessor
...
- .
- Grouping of multiple metadata fields under the same SidebarFacet
DSpace 1.7
- Sidebar browse facets that can be configured to use contents from any metadata field
- Dynamically generated timespans for dates
- Customizable "recent submissions" view on the repository homepage, collection and community pages
- Hit highlighting & search snippets
Enabling Discovery
Because Discovery was adopted as the default infrastructure for search and browse in DSpace 4, no manual steps are required to enable Discovery. If you want to enable Discovery on older versions of DSpace, please refer to the DSpace documentation for that particular version.
...
Class: | DiscoveryConfigurationService |
Purpose: | Defines the mapping between separate Discovery configurations and individual collections/communities |
Default: | All communities, collections and the homepage (key=default) are mapped to defaultConfiguration |
Class: | DiscoveryConfiguration |
Purpose: | Groups configurations for sidebar facets, search filters, search sort options and recent submissions |
Default: | There is one configuration by default called defaultConfiguration |
Class: | DiscoverySearchFilter |
Purpose: | Defines that specific metadata fields should be enabled as a search filter |
Default: | dc.title, dc.contributor.author, dc.creator, dc.subject.* and dc.date.issued are defined as search filters |
Class: | DiscoverySearchFilterFacet |
Purpose: | Defines which metadata fields should be offered as a contextual sidebar browse options, each of these facets has also got to be a search filter |
Default: | dc.contributor.author, dc.creator, dc.subject.* and dc.date.issued |
Class: | HierarchicalSidebarFacetConfiguration |
Purpose: | Defines which metadata fields contain hierarchical data and should be offered as a contextual sidebar option |
Class: | DiscoverySortConfiguration |
Purpose: | Further specifies the sort options to which a DiscoveryConfiguration refers |
Default: | dc.title and dc.date.issued are defined as alternatives for sorting, other than Relevance (hard-coded) |
Class: | DiscoveryHitHighlightingConfiguration |
Purpose: | Defines which metadata fields can contain hit highlighting & search snippets |
Default: | dc.title, dc.contributor.author, dc.subject, dc.description.abstract & full text from text files. |
Class: | TagCloudFacetConfiguration |
Purpose: | Defines the tag cloud appearance configuration bean and the search filter facets to appear in the tag cloud form. You can have different “"TagCloudFacetConfiguration” " per community or collection or the home page |
...
https://cwiki.apache.org/confluence/display/solr/Spell+Checking
Customizing the
...
"Tag Cloud" facet
This paragraph only applies to JSPUI
...
Code Block | ||
---|---|---|
| ||
<!--TagCloud configuration bean for homepage discovery configuration--> <bean id="homepageTagCloudFacetConfiguration" class="org.dspace.discovery.configuration.TagCloudFacetConfiguration"> <!-- Actual configuration of the tagcloud (colors, sorting, etc.) --> <property name="tagCloudConfiguration" ref="tagCloudConfiguration"/> <!-- List of tagclouds to appear, oveone for evryevery search filter, one after the other --> <property name="tagCloudFacets"> <list> <ref bean="searchFilterSubject" /> </list> </property> </bean> |
...