1 |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3 |
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
|
4 |
|
xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
|
5 |
|
xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
|
6 |
|
xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
|
7 |
|
xmlns:util="http://www.springframework.org/schema/util"
|
8 |
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
9 |
|
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
|
10 |
|
http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
|
11 |
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
|
12 |
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
13 |
|
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd
|
14 |
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
|
|
2 |
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3 |
xmlns:p="http://www.springframework.org/schema/p"
|
|
4 |
xmlns:http="http://cxf.apache.org/transports/http/configuration"
|
|
5 |
xmlns="http://www.springframework.org/schema/beans"
|
|
6 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
15 |
7 |
|
16 |
8 |
|
|
9 |
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">
|
17 |
10 |
|
18 |
11 |
<bean id="solrAdministrator"
|
19 |
12 |
class="eu.dnetlib.functionality.index.utils.RemoteSolrAdministrator"
|
... | ... | |
41 |
34 |
p:solrConfig-ref="solrConfigTemplate" />
|
42 |
35 |
|
43 |
36 |
<bean id="solrIndexSchemaFactory" class="eu.dnetlib.functionality.index.utils.IndexSchemaFactory"
|
44 |
|
p:schemaTemplate="classpath:/eu/dnetlib/functionality/index/conf/schemaTemplate.xslt"
|
45 |
|
p:textFieldType="${service.index.solr.schema.textfieldtype}"
|
46 |
|
init-method="init" />
|
|
37 |
p:schemaTemplate="${service.index.solr.schema.template}"
|
|
38 |
p:textFieldType="${service.index.solr.schema.textfieldtype}"
|
|
39 |
init-method="init"/>
|
47 |
40 |
|
48 |
41 |
<bean id="solrdocumentFactory" class="${service.index.solr.document.factory}" />
|
49 |
42 |
|
... | ... | |
51 |
44 |
class="eu.dnetlib.functionality.index.solr.feed.SolrDocumentMapperFactory"
|
52 |
45 |
p:documentFactory-ref="solrdocumentFactory" />
|
53 |
46 |
|
54 |
|
|
55 |
|
|
56 |
47 |
</beans>
|
schemaTemplate Resource is now a property and can be overridden from the container