1
|
<?xml version="1.0" encoding="UTF-8"?>
|
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" xmlns="http://www.springframework.org/schema/beans"
|
5
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
6
|
|
7
|
|
8
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">
|
9
|
|
10
|
|
11
|
<bean id="solrIndexQueryFactory"
|
12
|
class="eu.dnetlib.index.query.SolrIndexQueryFactory"
|
13
|
p:pruner-ref="solrQueryPruner" p:cqlPruner-ref="cqlQueryPruner">
|
14
|
<property name="defaultQueryParams">
|
15
|
<map>
|
16
|
<entry key="wildcard">
|
17
|
<list>
|
18
|
<value>
|
19
|
false
|
20
|
</value>
|
21
|
</list>
|
22
|
</entry>
|
23
|
</map>
|
24
|
</property>
|
25
|
</bean>
|
26
|
|
27
|
<bean id="solrQueryPruner" class="eu.dnetlib.clients.index.query.Pruner"
|
28
|
p:optionUri="SOLR"/>
|
29
|
|
30
|
<bean id="cqlQueryPruner" class="eu.dnetlib.clients.index.query.Pruner"
|
31
|
p:optionUri="CQL"/>
|
32
|
|
33
|
<bean id="solrIndexQueryResponseFactory" class="eu.dnetlib.index.query.SolrIndexQueryResponseFactory"
|
34
|
p:highlightUtils-ref="highlightUtils" p:returnEmptyFields="${service.index.solr.returnEmptyFields}"
|
35
|
p:includeRanking="${service.index.solr.rank.enable}"
|
36
|
/>
|
37
|
|
38
|
</beans>
|