mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 11:33:11 +00:00
2943 lines
149 KiB
XML
2943 lines
149 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
The contents of this file are subject to the license and copyright
|
|
detailed in the LICENSE and NOTICE files at the root of the source
|
|
tree and available online at
|
|
|
|
http://www.dspace.org/license/
|
|
|
|
-->
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
|
http://www.springframework.org/schema/util
|
|
http://www.springframework.org/schema/util/spring-util-3.0.xsd"
|
|
default-autowire-candidates="*Service,*DAO,javax.sql.DataSource,*Plugin" default-lazy-init="true">
|
|
|
|
<context:annotation-config /> <!-- allows us to use spring annotations in beans -->
|
|
|
|
<bean id="solrServiceResourceIndexPlugin" class="org.dspace.discovery.SolrServiceResourceRestrictionPlugin" scope="prototype"/>
|
|
<bean id="solrServiceWorkspaceWorkflowPlugin" class="org.dspace.discovery.SolrServiceWorkspaceWorkflowRestrictionPlugin" scope="prototype"/>
|
|
<bean id="solrServiceSpellIndexingPlugin" class="org.dspace.discovery.SolrServiceSpellIndexingPlugin" scope="prototype"/>
|
|
<bean id="solrServiceMetadataBrowseIndexingPlugin" class="org.dspace.discovery.SolrServiceMetadataBrowseIndexingPlugin" scope="prototype"/>
|
|
<bean id="solrServicePrivateItemPlugin" class="org.dspace.discovery.SolrServicePrivateItemPlugin" scope="prototype"/>
|
|
<bean id="SolrServiceParentObjectIndexingPlugin" class="org.dspace.discovery.SolrServiceParentObjectIndexingPlugin" scope="prototype"/>
|
|
<bean id="SolrServiceIndexCollectionSubmittersPlugin" class="org.dspace.discovery.SolrServiceIndexCollectionSubmittersPlugin" scope="prototype"/>
|
|
<bean id="SolrServiceIndexItemEditorsPlugin" class="org.dspace.discovery.SolrServiceIndexItemEditorsPlugin" scope="prototype"/>
|
|
|
|
<alias name="solrServiceResourceIndexPlugin" alias="org.dspace.discovery.SolrServiceResourceRestrictionPlugin"/>
|
|
|
|
<!-- Additional indexing plugin make filtering by has content in original bundle (like pdf's, images) posible via SOLR -->
|
|
<bean id="hasContentInOriginalBundlePlugin" class="org.dspace.discovery.SolrServiceContentInOriginalBundleFilterPlugin"/>
|
|
|
|
<!-- Additional indexing plugin enables searching by filenames and by file descriptions for files in ORIGINAL bundle -->
|
|
<bean id="solrServiceFileInfoPlugin" class="org.dspace.discovery.SolrServiceFileInfoPlugin"/>
|
|
|
|
<!-- Additional indexing plugin enables searching by supervised (true,false) -->
|
|
<bean id="solrServiceSupervisionOrderIndexingPlugin" class="org.dspace.discovery.SolrServiceSupervisionOrderIndexingPlugin"/>
|
|
|
|
<!--Bean that is used for mapping communities/collections to certain discovery configurations.-->
|
|
<bean id="org.dspace.discovery.configuration.DiscoveryConfigurationService" class="org.dspace.discovery.configuration.DiscoveryConfigurationService">
|
|
<property name="map">
|
|
<map>
|
|
<!--The map containing all the settings,
|
|
the key is used to refer to the page (the "site" or a community/collection handle)
|
|
the value-ref is a reference to an identifier of the DiscoveryConfiguration format
|
|
-->
|
|
<!-- The default entry, DO NOT REMOVE the system requires this -->
|
|
<entry key="default" value-ref="defaultConfiguration" />
|
|
<!-- Same as the "default" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="default-relationships" value-ref="defaultRelationshipsConfiguration" />
|
|
<!--<entry key="123456789/7621" value-ref="defaultConfiguration"/>-->
|
|
<!-- Used to show filters and results on MyDSpace -->
|
|
<!-- Do not change the id of special entries or else they won't work -->
|
|
<!-- "workspace" is a special entry to search for your own workspace items -->
|
|
<entry key="workspace" value-ref="workspaceConfiguration" />
|
|
<entry key="supervisedWorkspace" value-ref="supervisedWorkspaceConfiguration" />
|
|
<!-- "workflow" is a special entry to search for your own workflow tasks -->
|
|
<entry key="workflow" value-ref="workflowConfiguration" />
|
|
<!-- "workflowAdmin" is a special entry to search for all workflow items if you are an administrator -->
|
|
<entry key="workflowAdmin" value-ref="workflowAdminConfiguration" />
|
|
<!-- "supervision" is a special entry to search for all workspace and workflow items if you are an administrator -->
|
|
<entry key="supervision" value-ref="supervisionConfiguration" />
|
|
|
|
<entry key="undiscoverable" value-ref="unDiscoverableItems" />
|
|
<entry key="administrativeView" value-ref="administrativeView" />
|
|
|
|
<entry key="publication" value-ref="publication"/>
|
|
<!-- Same as the "publication" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="publication-relationships" value-ref="publicationRelationships"/>
|
|
|
|
<entry key="person" value-ref="person"/>
|
|
<!-- Same as the "person" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="person-relationships" value-ref="personRelationships"/>
|
|
|
|
<entry key="orgunit" value-ref="orgUnit"/>
|
|
<!-- Same as the "orgunit" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="orgunit-relationships" value-ref="orgUnitRelationships"/>
|
|
|
|
<entry key="journalissue" value-ref="journalIssue"/>
|
|
<!-- Same as the "journalissue" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="journalissue-relationships" value-ref="journalIssueRelationships"/>
|
|
|
|
<entry key="journalvolume" value-ref="journalVolume"/>
|
|
<!-- Same as the "journalvolume" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="journalvolume-relationships" value-ref="journalVolumeRelationships"/>
|
|
|
|
<entry key="journal" value-ref="journal"/>
|
|
<!-- Same as the "journal" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="journal-relationships" value-ref="journalRelationships"/>
|
|
|
|
<entry key="project" value-ref="project"/>
|
|
<!-- Same as the "project" configuration, but does NOT filter out older versions of items -->
|
|
<!-- Used to display related items on single-item pages, because a relationship does not always point to the latest version of the related item -->
|
|
<entry key="project-relationships" value-ref="projectRelationships"/>
|
|
|
|
<!-- search for an entity that can be a Person or an OrgUnit -->
|
|
<entry key="personOrOrgunit" value-ref="personOrOrgunit"/>
|
|
<!-- OpenAIRE4 guidelines - search for an OrgUnit that have a specific dc.type=FundingOrganization -->
|
|
<entry key="openAIREFundingAgency" value-ref="openAIREFundingAgency"/>
|
|
<entry key="eperson_claims" value-ref="eperson_claims"/>
|
|
</map>
|
|
</property>
|
|
<property name="toIgnoreMetadataFields">
|
|
<map>
|
|
<entry>
|
|
<key><util:constant static-field="org.dspace.core.Constants.COMMUNITY"/></key>
|
|
<list>
|
|
<!--Introduction text-->
|
|
<!--<value>dc.description</value>-->
|
|
<!--Short description-->
|
|
<!--<value>dc.description.abstract</value>-->
|
|
<!--News-->
|
|
<!--<value>dc.description.tableofcontents</value>-->
|
|
<!--Copyright text-->
|
|
<value>dc.rights</value>
|
|
<!--Community name-->
|
|
<!--<value>dc.title</value>-->
|
|
</list>
|
|
</entry>
|
|
<entry>
|
|
<key><util:constant static-field="org.dspace.core.Constants.COLLECTION"/></key>
|
|
<list>
|
|
<!--Introduction text-->
|
|
<!--<value>dc.description</value>-->
|
|
<!--Short description-->
|
|
<!--<value>dc.description.abstract</value>-->
|
|
<!--News-->
|
|
<!--<value>dc.description.tableofcontents</value>-->
|
|
<!--Copyright text-->
|
|
<value>dc.rights</value>
|
|
<!--Collection name-->
|
|
<!--<value>dc.title</value>-->
|
|
</list>
|
|
</entry>
|
|
<entry>
|
|
<key><util:constant static-field="org.dspace.core.Constants.ITEM"/></key>
|
|
<list>
|
|
<value>dc.description.provenance</value>
|
|
</list>
|
|
</entry>
|
|
</map>
|
|
</property>
|
|
</bean>
|
|
|
|
<!--The default configuration settings for discovery-->
|
|
<bean id="defaultConfiguration" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>(search.resourcetype:Item AND latestVersion:true) OR search.resourcetype:Collection OR search.resourcetype:Community</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dspace.entity.type"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.identifier.jobtitle"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="organization.legalName"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.givenName"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.familyName"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<!-- By default, full text snippets are disabled, as snippets of embargoed/restricted bitstreams
|
|
may appear in search results when the Item is public. See DS-3498
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.status"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.description"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="moreLikeThisConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration">
|
|
<property name="similarityMetadataFields">
|
|
<list>
|
|
<value>dc.title</value>
|
|
<value>dc.contributor.author</value>
|
|
<value>dc.creator</value>
|
|
<value>dc.subject</value>
|
|
</list>
|
|
</property>
|
|
<!--The minimum number of matching terms across 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"/>
|
|
<!--The minimum word length below which words will be ignored-->
|
|
<property name="minWordLength" value="5"/>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="defaultRelationshipsConfiguration" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item OR search.resourcetype:Collection OR search.resourcetype:Community</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dspace.entity.type"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.identifier.jobtitle"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<!-- By default, full text snippets are disabled, as snippets of embargoed/restricted bitstreams
|
|
may appear in search results when the Item is public. See DS-3498
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.status"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.description"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="moreLikeThisConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration">
|
|
<property name="similarityMetadataFields">
|
|
<list>
|
|
<value>dc.title</value>
|
|
<value>dc.contributor.author</value>
|
|
<value>dc.creator</value>
|
|
<value>dc.subject</value>
|
|
</list>
|
|
</property>
|
|
<!--The minimum number of matching terms across 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"/>
|
|
<!--The minimum word length below which words will be ignored-->
|
|
<property name="minWordLength" value="5"/>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<!--The configuration settings for discovery of withdrawn and indiscoverable items (admin only)-->
|
|
<bean id="unDiscoverableItems" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="undiscoverable"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items-->
|
|
<value>search.resourcetype:Item AND latestVersion:true</value>
|
|
<!-- Only find withdrawn or undiscoverable-->
|
|
<value>withdrawn:true OR discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dspace.entity.type"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.identifier.jobtitle"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<!-- By default, full text snippets are disabled, as snippets of embargoed/restricted bitstreams
|
|
may appear in search results when the Item is public. See DS-3498
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.status"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.description"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="moreLikeThisConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration">
|
|
<property name="similarityMetadataFields">
|
|
<list>
|
|
<value>dc.title</value>
|
|
<value>dc.contributor.author</value>
|
|
<value>dc.creator</value>
|
|
<value>dc.subject</value>
|
|
</list>
|
|
</property>
|
|
<!--The minimum number of matching terms across 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"/>
|
|
<!--The minimum word length below which words will be ignored-->
|
|
<property name="minWordLength" value="5"/>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<!--The configuration settings for discovery of withdrawn and undiscoverable items (admin only) and regular items-->
|
|
<bean id="administrativeView" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="administrativeView"/>
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterDiscoverable" />
|
|
<ref bean="searchFilterWithdrawn" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterDiscoverable" />
|
|
<ref bean="searchFilterWithdrawn" />
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items-->
|
|
<value>search.resourcetype:Item AND latestVersion:true</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dspace.entity.type"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="person.identifier.jobtitle"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<!-- By default, full text snippets are disabled, as snippets of embargoed/restricted bitstreams
|
|
may appear in search results when the Item is public. See DS-3498
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="project.identifier.status"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.name"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="orgunit.identifier.description"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="moreLikeThisConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryMoreLikeThisConfiguration">
|
|
<property name="similarityMetadataFields">
|
|
<list>
|
|
<value>dc.title</value>
|
|
<value>dc.contributor.author</value>
|
|
<value>dc.creator</value>
|
|
<value>dc.subject</value>
|
|
</list>
|
|
</property>
|
|
<!--The minimum number of matching terms across 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"/>
|
|
<!--The minimum word length below which words will be ignored-->
|
|
<property name="minWordLength" value="5"/>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
|
|
<!--The workspace configuration settings for discovery -->
|
|
<bean id="workspaceConfiguration"
|
|
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="workspace" />
|
|
<!--Which sidebar facets are to be displayed -->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page -->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<!--The default sort filter to use for the initial workspace loading-->
|
|
<property name="defaultSortField" ref="sortLastModified" />
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortLastModified" />
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, workspace and accepted for workflow -->
|
|
<value>(search.resourcetype:Item AND latestVersion:true) OR search.resourcetype:WorkspaceItem OR search.resourcetype:XmlWorkflowItem</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="fulltext"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<!--The supervised workspace configuration settings for discovery -->
|
|
<bean id="supervisedWorkspaceConfiguration"
|
|
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="supervisedWorkspace" />
|
|
<!--Which sidebar facets are to be displayed -->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page -->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<!--The default sort filter to use for the initial workspace loading-->
|
|
<property name="defaultSortField" ref="sortLastModified" />
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortLastModified" />
|
|
<ref bean="sortTitleAsc" />
|
|
<ref bean="sortDateIssuedDesc" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, workspace and accepted for workflow -->
|
|
<value>search.resourcetype:WorkspaceItem AND supervised:true</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="fulltext"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<!--The workflow configuration settings for discovery -->
|
|
<bean id="workflowConfiguration"
|
|
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="workflow" />
|
|
<!--Which sidebar facets are to be displayed -->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page -->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortLastModified" />
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find PoolTask and ClaimedTask -->
|
|
<value>search.resourcetype:PoolTask OR search.resourcetype:ClaimedTask</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="fulltext"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<!--The workflowAdmin configuration settings for discovery -->
|
|
<bean id="workflowAdminConfiguration"
|
|
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="workflowAdmin" />
|
|
<!--Which sidebar facets are to be displayed -->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page -->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<value>search.resourcetype:XmlWorkflowItem</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="fulltext"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="supervisionConfiguration"
|
|
class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="supervision" />
|
|
<!--Which sidebar facets are to be displayed -->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
<ref bean="searchFilterSupervision" />
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page -->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterObjectNamedType" />
|
|
<ref bean="searchFilterType" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterSubmitter" />
|
|
<ref bean="searchFilterSupervision" />
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<value>search.resourcetype:WorkspaceItem OR search.resourcetype:XmlWorkflowItem</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10" />
|
|
<property name="hitHighlightingConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration">
|
|
<property name="metadataFields">
|
|
<list>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.title"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.contributor.author"/>
|
|
<property name="snippets" value="5"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="dc.description.abstract"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">
|
|
<property name="field" value="fulltext"/>
|
|
<property name="maxSize" value="250"/>
|
|
<property name="snippets" value="2"/>
|
|
</bean>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="publication" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="publication"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:Publication</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="publicationRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="publicationRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!-- Set TagCloud configuration per discovery configuration -->
|
|
<property name="tagCloudFacetConfiguration" ref="defaultTagCloudFacetConfiguration"/>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle" />
|
|
<ref bean="searchFilterAuthor" />
|
|
<ref bean="searchFilterSubject" />
|
|
<ref bean="searchFilterIssued" />
|
|
<ref bean="searchFilterContentInOriginalBundle"/>
|
|
<ref bean="searchFilterFileNameInOriginalBundle" />
|
|
<ref bean="searchFilterFileDescriptionInOriginalBundle" />
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterIsAuthorOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPublicationRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
<ref bean="searchFilterIsJournalOfPublicationRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle" />
|
|
<ref bean="sortDateIssued" />
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:Publication</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned" />
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="person" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="person"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterKnowsLanguage"/>
|
|
<ref bean="searchFilterBirthdate"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterFamilyName"/>
|
|
<ref bean="searchFilterGivenName"/>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterKnowsLanguage"/>
|
|
<ref bean="searchFilterBirthdate"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPersonRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPersonRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfAuthorRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortFamilyName"/>
|
|
<ref bean="sortGivenName"/>
|
|
<ref bean="sortBirthDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:Person</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="5"/>
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="personRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="personRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterKnowsLanguage"/>
|
|
<ref bean="searchFilterBirthdate"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterFamilyName"/>
|
|
<ref bean="searchFilterGivenName"/>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterKnowsLanguage"/>
|
|
<ref bean="searchFilterBirthdate"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPersonRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPersonRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfAuthorRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortFamilyName"/>
|
|
<ref bean="sortGivenName"/>
|
|
<ref bean="sortBirthDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:Person</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="5"/>
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="project" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="project"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterSubject"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterSubject"/>
|
|
<ref bean="searchFilterIdentifier"/>
|
|
<ref bean="searchFilterIsOrgUnitOfProjectRelation"/>
|
|
<ref bean="searchFilterIsPersonOfProjectRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfProjectRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:Project</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="5"/>
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="projectRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="projectRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterSubject"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterSubject"/>
|
|
<ref bean="searchFilterIdentifier"/>
|
|
<ref bean="searchFilterIsOrgUnitOfProjectRelation"/>
|
|
<ref bean="searchFilterIsPersonOfProjectRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfProjectRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:Project</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="5"/>
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="orgUnit" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="orgUnit"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationLegalName"/>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
<ref bean="searchFilterIsPersonOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsProjectOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfOrgUnitRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortOrganizationLegalName"/>
|
|
<ref bean="sortOrganizationAddressCountry"/>
|
|
<ref bean="sortOrganizationAddressLocality"/>
|
|
<ref bean="sortOrganizationFoundingDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:OrgUnit</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="orgUnitRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="orgUnitRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationLegalName"/>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
<ref bean="searchFilterIsPersonOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsProjectOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfOrgUnitRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortOrganizationLegalName"/>
|
|
<ref bean="sortOrganizationAddressCountry"/>
|
|
<ref bean="sortOrganizationAddressLocality"/>
|
|
<ref bean="sortOrganizationFoundingDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:OrgUnit</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journalIssue" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journalIssue"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkKeywords"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterPublicationIssueNumber"/>
|
|
<ref bean="searchFilterCreativeWorkKeywords"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortPublicationIssueNumber"/>
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:JournalIssue</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journalIssueRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journalIssueRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkKeywords"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterPublicationIssueNumber"/>
|
|
<ref bean="searchFilterCreativeWorkKeywords"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
<ref bean="searchFilterIsPublicationOfJournalIssueRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortPublicationIssueNumber"/>
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:JournalIssue</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journalVolume" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journalVolume"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterPublicationVolumeNumber"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
<ref bean="searchFilterIsIssueOfJournalVolumeRelation"/>
|
|
<ref bean="searchFilterIsJournalVolumeRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortPublicationVolumeNumber"/>
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:JournalVolume</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journalVolumeRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journalVolumeRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterPublicationVolumeNumber"/>
|
|
<ref bean="searchFilterCreativeWorkDatePublished"/>
|
|
<ref bean="searchFilterIsIssueOfJournalVolumeRelation"/>
|
|
<ref bean="searchFilterIsJournalVolumeRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortPublicationVolumeNumber"/>
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:JournalVolume</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journal" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journal"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkPublisher"/>
|
|
<ref bean="searchFilterCreativeWorkEditor"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterCreativeWorkPublisher"/>
|
|
<ref bean="searchFilterCreativeWorkEditor"/>
|
|
<ref bean="searchFilterIsIssueOfJournalVolumeRelation"/>
|
|
<ref bean="searchFilterIsVolumeOfJournalRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:Journal</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="journalRelationships" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="journalRelationships"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterCreativeWorkPublisher"/>
|
|
<ref bean="searchFilterCreativeWorkEditor"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterTitle"/>
|
|
<ref bean="searchFilterCreativeWorkPublisher"/>
|
|
<ref bean="searchFilterCreativeWorkEditor"/>
|
|
<ref bean="searchFilterIsIssueOfJournalVolumeRelation"/>
|
|
<ref bean="searchFilterIsVolumeOfJournalRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortTitle"/>
|
|
<ref bean="sortCreativeWorkDatePublished"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, communities and collections-->
|
|
<!-- NOTE: NOT filtered on latestVersion = true -->
|
|
<value>search.resourcetype:Item AND entityType_keyword:Journal</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--The configuration for the recent submissions-->
|
|
<property name="recentSubmissionConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoveryRecentSubmissionsConfiguration">
|
|
<property name="metadataSortField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="max" value="20"/>
|
|
<!-- If enabled the collection home page will not display metadata but show a pageable list of recent submissions -->
|
|
<property name="useAsHomePage" value="false"/>
|
|
</bean>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="personOrOrgunit" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="personOrOrgunit"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterEntityType"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterEntityType"/>
|
|
<ref bean="searchFilterOrganizationLegalName"/>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
<ref bean="searchFilterFamilyName"/>
|
|
<ref bean="searchFilterGivenName"/>
|
|
<ref bean="searchFilterJobtitle"/>
|
|
<ref bean="searchFilterIsPersonOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsProjectOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsOrgUnitOfPersonRelation"/>
|
|
<ref bean="searchFilterIsProjectOfPersonRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfAuthorRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortEntityType"/>
|
|
<ref bean="sortOrganizationLegalName"/>
|
|
<ref bean="sortOrganizationAddressCountry"/>
|
|
<ref bean="sortOrganizationAddressLocality"/>
|
|
<ref bean="sortOrganizationFoundingDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
<ref bean="sortFamilyName"/>
|
|
<ref bean="sortGivenName"/>
|
|
<ref bean="sortBirthDate"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items, and orgunits or persons-->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND (entityType_keyword:OrgUnit OR entityType_keyword:Person)</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="openAIREFundingAgency" class="org.dspace.discovery.configuration.DiscoveryConfiguration"
|
|
scope="prototype">
|
|
<property name="id" value="fundingAgency"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
</list>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list>
|
|
<ref bean="searchFilterOrganizationLegalName"/>
|
|
<ref bean="searchFilterOrganizationAddressCountry"/>
|
|
<ref bean="searchFilterOrganizationAddressLocality"/>
|
|
<ref bean="searchFilterOrganizationFoundingDate"/>
|
|
<ref bean="searchFilterIsPersonOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsProjectOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsPublicationOfOrgUnitRelation"/>
|
|
<ref bean="searchFilterIsProjectOfFundingAgencyRelation"/>
|
|
</list>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortScore" />
|
|
<ref bean="sortOrganizationLegalName"/>
|
|
<ref bean="sortOrganizationAddressCountry"/>
|
|
<ref bean="sortOrganizationAddressLocality"/>
|
|
<ref bean="sortOrganizationFoundingDate"/>
|
|
<ref bean="sortDateAccessioned"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items that have a entityType=OrgUnit and a dc.type=FundingOrganization -->
|
|
<value>search.resourcetype:Item AND latestVersion:true AND entityType_keyword:OrgUnit AND dc.type:FundingOrganization</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="10"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="eperson_claims" class="org.dspace.discovery.configuration.DiscoveryConfiguration" scope="prototype">
|
|
<property name="id" value="eperson_claims"/>
|
|
<property name="indexAlways" value="true"/>
|
|
<!--Which sidebar facets are to be displayed-->
|
|
<property name="sidebarFacets">
|
|
<list/>
|
|
</property>
|
|
<!--The search filters which can be used on the discovery search page-->
|
|
<property name="searchFilters">
|
|
<list/>
|
|
</property>
|
|
<!--The sort filters for the discovery search-->
|
|
<property name="searchSortConfiguration">
|
|
<bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration">
|
|
<property name="sortFields">
|
|
<list>
|
|
<ref bean="sortTitle"/>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<!--Any default filter queries, these filter queries will be used for all
|
|
queries done by discovery for this configuration -->
|
|
<property name="defaultFilterQueries">
|
|
<list>
|
|
<!--Only find items into claimable collection defined in cfg-->
|
|
<value>search.resourcetype:Item</value>
|
|
<value>search.entitytype:${researcher-profile.entity-type:Person}</value>
|
|
<value>-withdrawn:true AND -discoverable:false</value>
|
|
</list>
|
|
</property>
|
|
<!--Default result per page -->
|
|
<property name="defaultRpp" value="100"/>
|
|
<!-- When true a "did you mean" example will be displayed, value can be true or false -->
|
|
<property name="spellCheckEnabled" value="false"/>
|
|
</bean>
|
|
|
|
|
|
<!--TagCloud configuration bean for default discovery configuration-->
|
|
<bean id="defaultTagCloudFacetConfiguration" class="org.dspace.discovery.configuration.TagCloudFacetConfiguration">
|
|
<!-- Actual configuration of the tagcloud (colors, sorting, etc.) -->
|
|
<property name="tagCloudConfiguration" ref="tagCloudConfiguration"/>
|
|
<!-- List of tagclouds to appear, one for every search filter, one after the other -->
|
|
<property name="tagCloudFacets">
|
|
<list>
|
|
<ref bean="searchFilterSubject" />
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="tagCloudConfiguration" class="org.dspace.discovery.configuration.TagCloudConfiguration">
|
|
<!-- Should display the score of each tag next to it? Default: false -->
|
|
<!-- <property name="displayScore" value="true"/> -->
|
|
|
|
<!-- Should display the tag as center aligned in the page or left aligned? Possible values: true | false. Default: true -->
|
|
<!-- <property name="shouldCenter" value="true"/> -->
|
|
|
|
<!-- How many tags will be shown. Value -1 means all of them. Default: -1 -->
|
|
<!--<property name="totalTags" value="-1"/> -->
|
|
|
|
<!-- The letter case of the tags.
|
|
Possible values: Case.LOWER | Case.UPPER | Case.CAPITALIZATION | Case.PRESERVE_CASE | Case.CASE_SENSITIVE
|
|
Default: Case.PRESERVE_CASE -->
|
|
<!--<property name="cloudCase" value="Case.PRESERVE_CASE"/> -->
|
|
|
|
<!-- If the 3 colors of the tag cloud should be independent of score (random=yes) or based on the score. Possible values: true | false . Default: true-->
|
|
<!-- <property name="randomColors" value="true"/> -->
|
|
|
|
<!-- The font size (in em) for the tag with the lowest score. Possible values: any decimal. Default: 1.1 -->
|
|
<!-- <property name="fontFrom" value="1.1"/>-->
|
|
|
|
<!-- The font size (in em) for the tag with the lowest score. Possible values: any decimal. Default: 3.2 -->
|
|
<!-- <property name="fontTo" value="3.2"/>-->
|
|
|
|
<!-- The score that tags with lower than that will not appear in the rag cloud. Possible values: any integer from 1 to infinity. Default: 0 -->
|
|
<!-- <property name="cuttingLevel" value="0"/>-->
|
|
|
|
<!-- The ordering of the tags (based either on the name or the score of the tag)
|
|
Possible values: Tag.NameComparatorAsc | Tag.NameComparatorDesc | Tag.ScoreComparatorAsc | Tag.ScoreComparatorDesc
|
|
Default: Tag.NameComparatorAsc -->
|
|
<!-- <property name="ordering" value="Tag.NameComparatorAsc"/>-->
|
|
</bean>
|
|
|
|
<!-- The tag cloud parameters for the tag clouds that appear in the browse pages -->
|
|
<bean id="browseTagCloudConfiguration" class="org.dspace.discovery.configuration.TagCloudConfiguration">
|
|
<!-- Should display the score of each tag next to it? Default: false -->
|
|
<!-- <property name="displayScore" value="true"/> -->
|
|
|
|
<!-- Should display the tag as center aligned in the page or left aligned? Possible values: true | false. Default: true -->
|
|
<!-- <property name="shouldCenter" value="true"/> -->
|
|
|
|
<!-- How many tags will be shown. Value -1 means all of them. Default: -1 -->
|
|
<!--<property name="totalTags" value="-1"/> -->
|
|
|
|
<!-- The letter case of the tags.
|
|
Possible values: Case.LOWER | Case.UPPER | Case.CAPITALIZATION | Case.PRESERVE_CASE | Case.CASE_SENSITIVE
|
|
Default: Case.PRESERVE_CASE -->
|
|
<!--<property name="cloudCase" value="Case.PRESERVE_CASE"/> -->
|
|
|
|
<!-- If the 3 colors of the tag cloud should be independent of score (random=yes) or based on the score. Possible values: true | false . Default: true-->
|
|
<!-- <property name="randomColors" value="true"/> -->
|
|
|
|
<!-- The font size (in em) for the tag with the lowest score. Possible values: any decimal. Default: 1.1 -->
|
|
<!-- <property name="fontFrom" value="1.1"/>-->
|
|
|
|
<!-- The font size (in em) for the tag with the lowest score. Possible values: any decimal. Default: 3.2 -->
|
|
<!-- <property name="fontTo" value="3.2"/>-->
|
|
|
|
<!-- The tags with score lower than this will not appear in the tag cloud. Possible values: any integer from 1 to infinity. Default: 0 -->
|
|
<!-- <property name="cuttingLevel" value="0"/>-->
|
|
|
|
<!-- The ordering of the tags (based either on the name or the score of the tag)
|
|
Possible values: Tag.NameComparatorAsc | Tag.NameComparatorDesc | Tag.ScoreComparatorAsc | Tag.ScoreComparatorDesc
|
|
Default: Tag.NameComparatorAsc -->
|
|
<!-- <property name="ordering" value="Tag.NameComparatorAsc"/>-->
|
|
</bean>
|
|
|
|
<!--Search filter configuration beans-->
|
|
|
|
<bean id="searchFilterDiscoverable" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="discoverable"/>
|
|
<property name="type" value="standard"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterWithdrawn" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="withdrawn"/>
|
|
<property name="type" value="standard"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterTitle" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="title"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.title</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsAuthorOfPublicationRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isAuthorOfPublication"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isAuthorOfPublication.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsProjectOfPublicationRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isProjectOfPublication"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isProjectOfPublication.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
|
|
<bean id="searchFilterIsOrgUnitOfPublicationRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isOrgUnitOfPublication"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isOrgUnitOfPublication.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfJournalIssueRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPublicationOfJournalIssue"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfJournalIssue.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsJournalOfPublicationRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isJournalOfPublication"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isJournalOfPublication.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterAuthor" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="author"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.contributor.author</value>
|
|
<value>dc.creator</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterEntityType" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="entityType"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dspace.entity.type</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterSubject" class="org.dspace.discovery.configuration.HierarchicalSidebarFacetConfiguration">
|
|
<property name="indexFieldName" value="subject"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.subject.*</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="splitter" value="::"/>
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterIssued" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="dateIssued"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.date.issued</value>
|
|
</list>
|
|
</property>
|
|
<property name="type" value="date"/>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterContentInOriginalBundle" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="has_content_in_original_bundle"/>
|
|
<property name="metadataFields">
|
|
<list/>
|
|
</property>
|
|
<property name="facetLimit" value="2"/>
|
|
<property name="type" value="standard"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterFileNameInOriginalBundle" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="original_bundle_filenames"/>
|
|
<property name="metadataFields">
|
|
<list/>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterFileDescriptionInOriginalBundle" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="original_bundle_descriptions"/>
|
|
<property name="metadataFields">
|
|
<list/>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterType" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="itemtype" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.type</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIdentifier" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="itemidentifier" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>dc.identifier</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterObjectType"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="resourcetype" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>placeholder.placeholder.placeholder</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterObjectNamedType"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="namedresourcetype" />
|
|
<property name="type" value="authority" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>placeholder.placeholder.placeholder</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterJobtitle" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="jobTitle"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>person.jobTitle</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterKnowsLanguage" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="knowsLanguage"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>person.knowsLanguage</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterBirthdate" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="birthDate"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>person.birthDate</value>
|
|
</list>
|
|
</property>
|
|
<property name="type" value="date"/>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
|
|
</bean>
|
|
|
|
<bean id="searchFilterFamilyName" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="familyName"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>person.familyName</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterGivenName" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="givenName"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>person.givenName</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsOrgUnitOfPersonRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isOrgUnitOfPerson"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isOrgUnitOfPerson.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsProjectOfPersonRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isProjectOfPerson"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isProjectOfPerson.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfAuthorRelation"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPublicationOfAuthor"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfAuthor.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
|
|
<bean id="searchFilterOrganizationAddressCountry"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="organizationAddressCountry"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>organization.address.addressCountry</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterOrganizationAddressLocality"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="organizationAddressLocality"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>organization.address.addressLocality</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterOrganizationFoundingDate"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="organizationFoundingDate"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>organization.foundingDate</value>
|
|
</list>
|
|
</property>
|
|
<property name="type" value="date"/>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterOrganizationLegalName" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="organizationLegalName"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>organization.legalName</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPersonOfOrgUnitRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPersonOfOrgUnit"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPersonOfOrgUnit.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsProjectOfOrgUnitRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isProjectOfOrgUnit"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isProjectOfOrgUnit.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfOrgUnitRelation"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPublicationOfOrgUnit"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfOrgUnit.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterCreativeWorkKeywords" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="creativeWorkKeywords"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>creativework.keywords</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterCreativeWorkDatePublished"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="creativeDatePublished"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>creativework.datePublished</value>
|
|
</list>
|
|
</property>
|
|
<property name="type" value="date"/>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterPublicationIssueNumber" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="publicationIssueNumber"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>publicationissue.issueNumber</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfJournalIssue" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPublicationOfJournalIssue"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfJournalIssue.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterPublicationVolumeNumber" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="publicationVolumeNumber"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>publicationVolume.volumeNumber</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsIssueOfJournalVolumeRelation"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isIssueOfJournalVolumeRelation"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isIssueOfJournalVolume.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsJournalVolumeRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isJournalVolumeRelation"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isJournalOfVolume.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterCreativeWorkPublisher" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="creativeWorkPublisher"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>creativework.publisher</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterCreativeWorkEditor" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="creativeWorkEditor"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>creativework.editor</value>
|
|
</list>
|
|
</property>
|
|
<property name="facetLimit" value="5"/>
|
|
<property name="sortOrderSidebar" value="COUNT"/>
|
|
<property name="sortOrderFilterPage" value="COUNT"/>
|
|
<property name="isOpenByDefault" value="true"/>
|
|
<property name="pageSize" value="10"/>
|
|
<property name="exposeMinAndMaxValue" value="true"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsVolumeOfJournalRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isVolumeOfJournalRelation"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isVolumeOfJournal.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
|
|
<!-- Used only to READ "submitter" facets (managed programmatically at SolrServiceImpl) -->
|
|
<bean id="searchFilterSubmitter"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="submitter" />
|
|
<property name="type" value="authority" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>placeholder.placeholder.placeholder</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsOrgUnitOfProjectRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
|
|
<property name="indexFieldName" value="isOrgUnitOfProject"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isOrgUnitOfProject.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPersonOfProjectRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
|
|
<property name="indexFieldName" value="isPersonOfProject"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPersonOfProject.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfProjectRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
|
|
<property name="indexFieldName" value="isPublicationOfProject"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfProject.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsContributorOfPublicationRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isContributorOfPublication"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isContributorOfPublication.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsPublicationOfContributorRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isPublicationOfContributor"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isPublicationOfContributor.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsFundingAgencyOfProjectRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isFundingAgencyOfProject"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isFundingAgencyOfProject.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<bean id="searchFilterIsProjectOfFundingAgencyRelation" class="org.dspace.discovery.configuration.DiscoverySearchFilter">
|
|
<property name="indexFieldName" value="isProjectOfFundingAgency"/>
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>relation.isProjectOfFundingAgency.latestForDiscovery</value>
|
|
</list>
|
|
</property>
|
|
<property name="isOpenByDefault" value="false"/>
|
|
<property name="pageSize" value="10"/>
|
|
</bean>
|
|
|
|
<!-- Used only to READ "supervisedBy" facets -->
|
|
<bean id="searchFilterSupervision"
|
|
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
|
|
<property name="indexFieldName" value="supervisedBy" />
|
|
<property name="type" value="authority" />
|
|
<property name="metadataFields">
|
|
<list>
|
|
<value>placeholder.placeholder.placeholder</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<!--Sort properties-->
|
|
<bean id="sortScore" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortTitle" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dc.title"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
|
|
<bean id="sortDateIssued" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dc.date.issued"/>
|
|
<property name="type" value="date"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
<bean id="sortDateAccessioned" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dc.date.accessioned"/>
|
|
<property name="type" value="date"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortFamilyName" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="person.familyName"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
<bean id="sortGivenName" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="person.givenName"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
<bean id="sortBirthDate" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="person.birthDate"/>
|
|
<property name="type" value="date"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortOrganizationLegalName" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="organization.legalName"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
<bean id="sortOrganizationAddressCountry"
|
|
class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="organisation.address.addressCountry"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
<bean id="sortOrganizationAddressLocality"
|
|
class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="organisation.address.addressLocality"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
<bean id="sortOrganizationFoundingDate" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="organisation.foundingDate"/>
|
|
<property name="type" value="date"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortPublicationIssueNumber" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="publicationissue.issueNumber"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
<bean id="sortCreativeWorkDatePublished" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="creativework.datePublished"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortPublicationVolumeNumber" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="publicationvolume.volumeNumber"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortEntityType" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dspace.entity.type"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortLastModified" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="lastModified" />
|
|
<property name="type" value="date" />
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
<bean id="sortTitleAsc" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dc.title"/>
|
|
<property name="defaultSortOrder" value="asc"/>
|
|
</bean>
|
|
|
|
<bean id="sortDateIssuedDesc" class="org.dspace.discovery.configuration.DiscoverySortFieldConfiguration">
|
|
<property name="metadataField" value="dc.date.issued"/>
|
|
<property name="type" value="date"/>
|
|
<property name="defaultSortOrder" value="desc"/>
|
|
</bean>
|
|
|
|
</beans>
|