Project

General

Profile

1
<beans xmlns="http://www.springframework.org/schema/beans"
2
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
4
	
5
	<bean id="dryad.abstract" class="org.dataone.cn.indexer.parser.SolrField">
6
		<constructor-arg name="name" value="abstract" />
7
		<constructor-arg name="xpath"
8
		  value="//dcterms:description[1]/text()" />
9
		<property name="multivalue" value="false" />
10
	</bean>
11

    
12
	<bean id="dryad.author" class="org.dataone.cn.indexer.parser.SolrField">
13
		<constructor-arg name="name" value="author" />
14
		<constructor-arg name="xpath"
15
		  value="//dcterms:creator[1]/text()" />
16
		<property name="multivalue" value="false" />
17
	</bean>
18
	
19
	<bean id="dryad.keywords" class="org.dataone.cn.indexer.parser.SolrField">
20
		<constructor-arg name="name" value="keywords" />
21
		<constructor-arg name="xpath"
22
			value="//dcterms:subject/text()" />
23
		<property name="multivalue" value="true" />
24
	</bean>
25
	
26
	<bean id="dryad.pubDate" class="org.dataone.cn.indexer.parser.SolrField">
27
		<constructor-arg name="name" value="pubDate" />
28
		<constructor-arg name="xpath" value="//dcterms:dateSubmitted/text()" />
29
		<property name="multivalue" value="false" />
30
		<property name="converter" ref="dateConverter" />
31
	</bean>
32
	
33
 	<bean id="dryad.site" class="org.dataone.cn.indexer.parser.SolrField">
34
		<constructor-arg name="name" value="site" />
35
		<constructor-arg name="xpath"
36
		  value="//dcterms:spatial/text()" />
37
		<property name="multivalue" value="true" />
38
	</bean>
39
		
40
	<bean id="dryad.title" class="org.dataone.cn.indexer.parser.SolrField">
41
		<constructor-arg name="name" value="title" />
42
		<constructor-arg name="xpath"
43
		  value="//dcterms:title[1]/text()" />
44
		<property name="multivalue" value="false" />
45
	</bean>
46
 
47
 	<bean id="dryad.scientificName" class="org.dataone.cn.indexer.parser.SolrField">
48
		<constructor-arg name="name" value="scientificName" />
49
		<constructor-arg name="xpath"
50
		  value="//dwc:scientificName/text()" />
51
		<property name="multivalue" value="true" />
52
	</bean>
53

    
54
	<bean id="dryad.fileID" class="org.dataone.cn.indexer.parser.ResolveSolrField">
55
		<constructor-arg name="name" value="fileID" />
56
	</bean>
57
	
58
	<bean id="dryad.origin" class="org.dataone.cn.indexer.parser.SolrField">
59
		<constructor-arg name="name" value="origin" />
60
		<constructor-arg name="xpath" value='//dcterms:creator/text()' />
61
		<property name="multivalue" value="true" />
62
		<property name="dedupe" value="true" />
63
	</bean>
64
	
65
	<bean id="dryad.investigator" class="org.dataone.cn.indexer.parser.SolrField">
66
		<constructor-arg name="name" value="investigator" />
67
		<constructor-arg name="xpath" value='//dcterms:creator/text()' />
68
		<property name="multivalue" value="true" />
69
		<property name="dedupe" value="true" />
70
	</bean>
71
	
72
	<bean id="dryad.fullText" class="org.dataone.cn.indexer.parser.FullTextSolrField">
73
		<constructor-arg name="name" value="text" />
74
		<constructor-arg name="xpath"
75
			value="//*/text()" />
76
		<property name="multivalue" value="false" />
77
		<property name="combineNodes" value="true"/>
78
		<property name="dedupe" value="true"/>
79
	</bean>
80
	
81
</beans>
(1-1/18)