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"
|
4
|
xmlns:context="http://www.springframework.org/schema/context"
|
5
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
6
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
7
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
8
|
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
|
9
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
|
10
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
|
11
|
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.3.xsd
|
12
|
">
|
13
|
|
14
|
<!-- We do not use spelling suggestions anymore. This one relates to springmodules which is -->
|
15
|
<!-- somewhat outdated. Once we work again with spelling suggestions we better use a modern -->
|
16
|
<!-- approache, e.g. annotation based. -->
|
17
|
<!-- <bean id="taxonSpellingDirectory" class="org.springmodules.lucene.index.support.FSDirectoryFactoryBean">
|
18
|
TODO location
|
19
|
<property name="location" value="file:./target/test-classes/eu.etaxonomy.cdm.model.taxon.TaxonBase_spelling"/>
|
20
|
<property name="create" value="false"/>
|
21
|
</bean>
|
22
|
|
23
|
|
24
|
<bean id="taxonSpellingIndex" class="org.springmodules.lucene.index.support.SimpleIndexFactoryBean">
|
25
|
<property name="directory" ref="taxonSpellingDirectory"/>
|
26
|
<property name="create" value="false"/>
|
27
|
<property name="analyzer">
|
28
|
<bean class="org.apache.lucene.analysis.SimpleAnalyzer"/>
|
29
|
</property>
|
30
|
</bean> -->
|
31
|
|
32
|
|
33
|
</beans>
|