<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
	<bean id="emlAnnotationSubprocessor" class="org.dataone.cn.indexer.annotation.EmlAnnotationSubprocessor">
		<property name="processorUtility" ref="subprocessorUtility"/>
        <property name="matchDocuments">
			<list>
				<value>https://eml.ecoinformatics.org/eml-2.2.0</value>
			</list>
		</property>
		<property name="fieldsToMerge">
			<list>
				<value>sem_annotation</value>
			</list>
		</property>
		<property name="fieldList">
			<list>
				<bean class="org.dataone.cn.indexer.parser.SolrField">
					<constructor-arg name="name" value="sem_annotation" />
					<constructor-arg name="xpath" value="//annotation/propertyURI/text() | //annotation/valueURI/text()" />
					<constructor-arg name="multivalue" value="true" />
				</bean>
			</list>
		</property>
	</bean>
</beans>
