Project

General

Profile

« Previous | Next » 

Revision 10142

include group lookup field in mdq indexing

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.rightsHolder" />				
22
				<ref bean="mdq.metadata.rightsHolder" />	
23
				<ref bean="mdq.metadata.group" />				
23 24
				<ref bean="mdq.score.green" />
24 25
				<ref bean="mdq.score.orange" />
25 26
				<ref bean="mdq.score.red" />
......
85 86
		<property name="multivalue" value="false" />
86 87
	</bean>
87 88
	
89
	<bean id="mdq.metadata.group" class="org.dataone.cn.indexer.parser.SolrField">
90
		<constructor-arg name="name" value="mdq_metadata_group_sm" />
91
		<constructor-arg name="xpath"
92
			value="//result[check/id[text() = 'check.lookup.group.1']]/output/text()" />
93
		<property name="multivalue" value="true" />
94
		<property name="dedupe" value="true" />
95
	</bean>
96
	
88 97
	<!-- scoring by result status -->
89 98
	<bean id="mdq.score.green" class="org.dataone.cn.indexer.parser.SolrField">
90 99
		<constructor-arg name="name" value="mdq_green_i" />

Also available in: Unified diff