| | |
| | | <beans xmlns="http://www.springframework.org/schema/beans" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xmlns:solr="http://www.springframework.org/schema/data/solr" |
| | | xsi:schemaLocation="http://www.springframework.org/schema/beans |
| | | https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/data/solr http://www.springframework.org/schema/data/solr/spring-solr.xsd"> |
| | | xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd |
| | | http://www.springframework.org/schema/data/solr http://www.springframework.org/schema/data/solr/spring-solr-2.0.xsd"> |
| | | |
| | | <!--<bean id="solrClient" class="org.apache.solr.client.solrj.impl.HttpSolrClient">--> |
| | | <!--<constructor-arg value="${solr.url}"></constructor-arg>--> |
| | | <!--</bean>--> |
| | | <solr:solr-client id="client" url="${solr.url}"></solr:solr-client> |
| | | |
| | | <bean id="solrTemplate" |
| | | class="org.springframework.data.solr.core.SolrTemplate"> |
| | | <constructor-arg name="solrClient" ref="client"/> |
| | | <constructor-arg ref="client"/> |
| | | </bean> |
| | | </beans> |