|
121 | 121 | <!-- "workspace" is a special entry to search for your own workspace items --> |
122 | 122 | <entry key="workspace" value-ref="workspaceConfiguration" /> |
123 | 123 | <entry key="supervisedWorkspace" value-ref="supervisedWorkspaceConfiguration" /> |
| 124 | + <entry key="otherworkspace" value-ref="otherWorkspaceConfiguration" /> |
124 | 125 | <!-- "workflow" is a special entry to search for your own workflow tasks --> |
125 | 126 | <entry key="workflow" value-ref="workflowConfiguration" /> |
126 | 127 | <!-- "workflowAdmin" is a special entry to search for all workflow items if you are an administrator --> |
|
2084 | 2085 | <property name="spellCheckEnabled" value="true"/> |
2085 | 2086 | </bean> |
2086 | 2087 |
|
| 2088 | + <!--The other workspace configuration settings for discovery --> |
| 2089 | + <bean id="otherWorkspaceConfiguration" |
| 2090 | + class="org.dspace.discovery.configuration.DiscoveryConfiguration" |
| 2091 | + scope="prototype"> |
| 2092 | + <property name="id" value="otherworkspace" /> |
| 2093 | + <!--Which sidebar facets are to be displayed --> |
| 2094 | + <property name="sidebarFacets"> |
| 2095 | + <list> |
| 2096 | + <ref bean="searchFilterObjectNamedType" /> |
| 2097 | + <ref bean="searchFilterType" /> |
| 2098 | + <ref bean="searchFilterIssued" /> |
| 2099 | + </list> |
| 2100 | + </property> |
| 2101 | + <!--The search filters which can be used on the discovery search page --> |
| 2102 | + <property name="searchFilters"> |
| 2103 | + <list> |
| 2104 | + <ref bean="searchFilterObjectNamedType" /> |
| 2105 | + <ref bean="searchFilterType" /> |
| 2106 | + <ref bean="searchFilterIssued" /> |
| 2107 | + <ref bean="searchFilterEntityType" /> |
| 2108 | + </list> |
| 2109 | + </property> |
| 2110 | + <!--The sort filters for the discovery search--> |
| 2111 | + <property name="searchSortConfiguration"> |
| 2112 | + <bean class="org.dspace.discovery.configuration.DiscoverySortConfiguration"> |
| 2113 | + <!--The default sort filter to use for the initial workspace loading--> |
| 2114 | + <property name="defaultSortField" ref="sortLastModified" /> |
| 2115 | + <property name="sortFields"> |
| 2116 | + <list> |
| 2117 | + <ref bean="sortLastModified" /> |
| 2118 | + <ref bean="sortTitleAsc" /> |
| 2119 | + <ref bean="sortDateIssuedDesc" /> |
| 2120 | + </list> |
| 2121 | + </property> |
| 2122 | + </bean> |
| 2123 | + </property> |
| 2124 | + <!--Any default filter queries, these filter queries will be used for all |
| 2125 | + queries done by discovery for this configuration --> |
| 2126 | + <property name="defaultFilterQueries"> |
| 2127 | + <list> |
| 2128 | + <!--Only find items, workspace and accepted for workflow --> |
| 2129 | + <value>search.resourcetype:WorkspaceItem</value> |
| 2130 | + </list> |
| 2131 | + </property> |
| 2132 | + <!--Default result per page --> |
| 2133 | + <property name="defaultRpp" value="10" /> |
| 2134 | + <property name="hitHighlightingConfiguration"> |
| 2135 | + <bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightingConfiguration"> |
| 2136 | + <property name="metadataFields"> |
| 2137 | + <list> |
| 2138 | + <bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration"> |
| 2139 | + <property name="field" value="dc.title"/> |
| 2140 | + <property name="snippets" value="5"/> |
| 2141 | + </bean> |
| 2142 | + <bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration"> |
| 2143 | + <property name="field" value="dc.contributor.author"/> |
| 2144 | + <property name="snippets" value="5"/> |
| 2145 | + </bean> |
| 2146 | + <bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration"> |
| 2147 | + <property name="field" value="dc.description.abstract"/> |
| 2148 | + <property name="maxSize" value="250"/> |
| 2149 | + <property name="snippets" value="2"/> |
| 2150 | + </bean> |
| 2151 | + <bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration"> |
| 2152 | + <property name="field" value="fulltext"/> |
| 2153 | + <property name="maxSize" value="250"/> |
| 2154 | + <property name="snippets" value="2"/> |
| 2155 | + </bean> |
| 2156 | + </list> |
| 2157 | + </property> |
| 2158 | + </bean> |
| 2159 | + </property> |
| 2160 | + <!-- When true a "did you mean" example will be displayed, value can be true or false --> |
| 2161 | + <property name="spellCheckEnabled" value="true"/> |
| 2162 | + </bean> |
| 2163 | + |
2087 | 2164 | <!--The workflow configuration settings for discovery --> |
2088 | 2165 | <bean id="workflowConfiguration" |
2089 | 2166 | class="org.dspace.discovery.configuration.DiscoveryConfiguration" |
|
0 commit comments