Project

General

Profile

« Previous | Next » 

Revision 10092

remove root node in xpath (for some reason this wasn't working on mn-demo-8 but was locally).

View differences:

metacat-index/src/main/resources/application-context-mdq.xml
36 36
	<bean id="mdq.objectIdentifier" class="org.dataone.cn.indexer.parser.SolrField">
37 37
		<constructor-arg name="name" value="mdq_objectIdentifier_s" />
38 38
		<constructor-arg name="xpath"
39
			value="//run/objectIdentifier" />
39
			value="//objectIdentifier" />
40 40
		<property name="multivalue" value="false" />
41 41
	</bean>
42 42
	
43 43
	<bean id="mdq.suiteId" class="org.dataone.cn.indexer.parser.SolrField">
44 44
		<constructor-arg name="name" value="mdq_suiteId_s" />
45 45
		<constructor-arg name="xpath"
46
			value="//run/suiteId" />
46
			value="//suiteId" />
47 47
		<property name="multivalue" value="false" />
48 48
	</bean>
49 49
	
50 50
	<bean id="mdq.timestamp" class="org.dataone.cn.indexer.parser.SolrField">
51 51
		<constructor-arg name="name" value="mdq_timestamp_dt" />
52 52
		<constructor-arg name="xpath"
53
			value="//run/timestamp" />
53
			value="//timestamp" />
54 54
		<property name="multivalue" value="false" />
55 55
		<property name="converter" ref="dateConverter" />
56 56
	</bean>
......
58 58
	<bean id="mdq.metadata.formatId" class="org.dataone.cn.indexer.parser.SolrField">
59 59
		<constructor-arg name="name" value="mdq_metadata_formatId_s" />
60 60
		<constructor-arg name="xpath"
61
			value="//run/metadata/formatId" />
61
			value="//metadata/formatId" />
62 62
		<property name="multivalue" value="false" />
63 63
	</bean>
64 64
	
65 65
	<bean id="mdq.metadata.datasource" class="org.dataone.cn.indexer.parser.SolrField">
66 66
		<constructor-arg name="name" value="mdq_metadata_datasource_s" />
67 67
		<constructor-arg name="xpath"
68
			value="//run/metadata/datasource" />
68
			value="//metadata/datasource" />
69 69
		<property name="multivalue" value="false" />
70 70
	</bean>
71 71
	
72 72
	<bean id="mdq.metadata.funder" class="org.dataone.cn.indexer.parser.SolrField">
73 73
		<constructor-arg name="name" value="mdq_metadata_funder_s" />
74 74
		<constructor-arg name="xpath"
75
			value="//run/metadata/funder" />
75
			value="//metadata/funder" />
76 76
		<property name="multivalue" value="false" />
77 77
	</bean>
78 78
	
79 79
	<bean id="mdq.metadata.rightsHolder" class="org.dataone.cn.indexer.parser.SolrField">
80 80
		<constructor-arg name="name" value="mdq_metadata_rightsHolder_s" />
81 81
		<constructor-arg name="xpath"
82
			value="//run/metadata/rightsHolder" />
82
			value="//metadata/rightsHolder" />
83 83
		<property name="multivalue" value="false" />
84 84
	</bean>
85 85
	

Also available in: Unified diff