Project

General

Profile

Revision 10171

index the multiple values provided by award number lookup. https://github.com/NCEAS/mdqengine/issues/72

View differences:

metacat-index/src/main/resources/application-context-mdq.xml
19 19
				<ref bean="mdq.metadata.formatId" />
20 20
				<ref bean="mdq.metadata.datasource" />
21 21
				<ref bean="mdq.metadata.funder" />
22
				<ref bean="mdq.metadata.funder.lookup" />
22 23
				<ref bean="mdq.metadata.rightsHolder" />	
23 24
				<ref bean="mdq.metadata.group" />				
24 25
				<ref bean="mdq.score.green" />
......
79 80
		<property name="dedupe" value="true" />
80 81
	</bean>
81 82
	
83
	<bean id="mdq.metadata.funder.lookup" class="org.dataone.cn.indexer.parser.SolrField">
84
		<constructor-arg name="name" value="mdq_metadata_funder_lookup_sm" />
85
		<constructor-arg name="xpath"
86
			value="//result[check/id[text() = 'check.lookup.funder.1']]/output/text()" />
87
		<property name="multivalue" value="true" />
88
		<property name="dedupe" value="true" />
89
	</bean>
90
	
82 91
	<bean id="mdq.metadata.rightsHolder" class="org.dataone.cn.indexer.parser.SolrField">
83 92
		<constructor-arg name="name" value="mdq_metadata_rightsHolder_s" />
84 93
		<constructor-arg name="xpath"

Also available in: Unified diff