| 1234567891011121314151617181920212223 |
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:context="http://www.springframework.org/schema/context"
- xmlns="http://www.springframework.org/schema/beans"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-2.5.xsd">
- <context:component-scan base-package="org.es"/>
- <bean id="cluster01" class="org.es.lu.ElasticsearchCluster">
- <constructor-arg index="0" value="jdbc:elastic:192.168.0.125:9300/lu-search-cluster"/>
- <property name="clusterKey" value="YP" />
- <property name="commonConfig" ref="commonConfig"/>
- </bean>
- <bean id="cluster02" class="org.es.lu.ElasticsearchCluster">
- <constructor-arg index="0" value="jdbc:elastic:192.168.0.124:9300/lu-search-cluster"/>
- <property name="clusterKey" value="BX" />
- <property name="commonConfig" ref="commonConfig"/>
- </bean>
- </beans>
|