<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <bean id="resourceMapDeleteSubprocessor" class="org.dataone.cn.indexer.parser.BaseDocumentDeleteSubprocessor"> <property name="biDirectionalRelationFields"> <list> <value>documents</value> <value>isDocumentedBy</value> </list> </property> <property name="uniDirectionalRelationFields"> <list> <value>resourceMap</value> </list> </property> <property name="relationSourceFormatId" value="http://www.openarchives.org/ore/terms"></property> <property name="relationSourceField" value="resourceMap"></property> </bean> <!-- for removing annotations about other documents in the index --> <bean id="annotationDeleteSubprocessor" class="edu.ucsb.nceas.metacat.index.MetacatDocumentDeleteSubprocessor"> <property name="biDirectionalRelationFields"> <list> <value>sem_annotates</value> <value>sem_annotated_by</value> </list> </property> <property name="uniDirectionalRelationFields"> <list> <value>sem_annotation</value> </list> </property> <property name="relationSourceFormatId" value="http://docs.annotatorjs.org/en/v1.2.x/annotation-format.html"></property> <property name="relationSourceField" value="sem_annotated_by"></property> </bean> </beans>