mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-23 18:03:11 +00:00
[DS-1246] Discovery indexer indexes collection license field.
Added configuration for community/collection/item metadata, by default the license field will not be indexed for communities and collections.
This commit is contained in:
@@ -10,9 +10,6 @@ search.server = http://localhost:8080/solr/search
|
||||
#Char used to ensure that the sidebar facets are case insensitive
|
||||
#solr.facets.split.char=\n|||\n
|
||||
|
||||
#All metadata fields that will not end up in the index, this is a comma separated list
|
||||
index.ignore=dc.description.provenance
|
||||
|
||||
# index.ignore-variants = false
|
||||
# index.ignore-authority = false
|
||||
index.projection=dc.title,dc.contributor.*,dc.date.issued
|
||||
|
@@ -9,12 +9,15 @@
|
||||
|
||||
-->
|
||||
<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"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
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-2.5.xsd"
|
||||
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">
|
||||
|
||||
<context:annotation-config /> <!-- allows us to use spring annotations in beans -->
|
||||
@@ -44,6 +47,46 @@
|
||||
<!--<entry key="123456789/7621" value-ref="defaultConfiguration"/>-->
|
||||
</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-->
|
||||
|
Reference in New Issue
Block a user