Project

General

Profile

« Previous | Next » 

Revision 7697

Added by Jing Tao almost 11 years ago

Use the new class to handle the resource map.

View differences:

metacat-index/src/main/resources/application-context-resourcemap.xml
3 3
	xmlns:p="http://www.springframework.org/schema/p"
4 4
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
5 5

  
6
	<bean id="resourceMapSubprocessor" class="org.dataone.cn.indexer.parser.ResourceMapSubprocessor">
6
	<bean id="resourceMapSubprocessor" class="edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor">
7 7
		<property name="matchDocument"
8 8
			value="/d100:systemMetadata/formatId[text()='http://www.openarchives.org/ore/terms'] | /d100:systemMetadata/formatId[text()='http://www.w3.org/TR/rdf-syntax-grammar']" />
9
		<property name="httpService" ref="httpService"></property>
10
		<property name="solrQueryUri" value="${solr.query.uri}"></property>
9
		<!-- <property name="httpService" ref="httpService"></property>
10
		<property name="solrQueryUri" value="${solr.query.uri}"></property> -->
11 11
	</bean>
12 12
	
13
	<bean id="httpService" class="org.dataone.cn.indexer.solrhttp.HTTPService">
13
	<!--  <bean id="httpService" class="org.dataone.cn.indexer.solrhttp.HTTPService">
14 14
        <constructor-arg ref="httpClientFactory" />
15 15
        <property name="solrSchemaPath" value="${solr.schema.path}" />
16 16
        <property name="solrIndexUri" value="${solr.index.uri}" />
......
25 25
        <constructor-arg ref="httpConnectionManager"/>
26 26
    </bean>
27 27

  
28
    <bean id="httpConnectionManager" class="org.apache.http.impl.conn.SingleClientConnManager"/>
28
    <bean id="httpConnectionManager" class="org.apache.http.impl.conn.SingleClientConnManager"/> -->
29 29

  
30 30
</beans>

Also available in: Unified diff