Revision 9406
Added by ben leinfelder about 9 years ago
metacat-index/src/main/resources/application-context-systemmeta200.xml | ||
---|---|---|
1 | 1 |
<beans xmlns="http://www.springframework.org/schema/beans" |
2 | 2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> |
4 |
|
|
5 |
<bean id="systemMetadata200Subprocessor" |
|
6 |
class="org.dataone.cn.indexer.parser.BaseXPathDocumentSubprocessor"> |
|
7 |
<property name="xmlNamespaceConfig" ref="xmlNamespaceConfig" /> |
|
8 |
<property name="fieldList"> |
|
4 |
<bean id="xpath_system_metadata_200" class="java.util.ArrayList"> |
|
5 |
<constructor-arg> |
|
9 | 6 |
<list> |
10 | 7 |
<bean class="org.dataone.cn.indexer.parser.SolrField"> |
11 | 8 |
<constructor-arg name="name" value="id" /> |
... | ... | |
158 | 155 |
<constructor-arg name="name" value="dataUrl" /> |
159 | 156 |
</bean> |
160 | 157 |
</list> |
161 |
</property>
|
|
158 |
</constructor-arg>
|
|
162 | 159 |
</bean> |
163 | 160 |
</beans> |
metacat-index/src/main/resources/index-processor-context.xml | ||
---|---|---|
86 | 86 |
<list> |
87 | 87 |
<bean class="edu.ucsb.nceas.metacat.index.SolrIndex"> |
88 | 88 |
<constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" /> |
89 |
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_100"/>
|
|
89 |
<constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_200"/>
|
|
90 | 90 |
<!--<property name="solrBaseUri" value="${solr.base.uri}" /> |
91 | 91 |
<property name="httpService" ref="httpService" /> --> |
92 | 92 |
<property name="subprocessors"> |
Also available in: Unified diff
refactor v2 context bean to use the v1 pattern used in metacat