<?xml version="1.0" encoding="UTF-8"?>
<config>
    <!--定义使用lucene作为全文索引引擎-->
    <bean class="net.cyan.thunwind.fulltext.FullTextEngine" imp="net.cyan.thunwind.fulltext.LuceneFullTextEngineFactory"
          factory="instance">
        <path>/lucene_thunwind</path>
        <charset>GBK</charset>
        <queryAnalyzer type="org.wltea.analyzer.lucene.IKAnalyzer"/>
    </bean>

<!--    <bean class="net.cyan.thunwind.fulltext.FullTextEngine" imp="net.cyan.thunwind.fulltext.LuceneFullTextEngineFactory"-->
<!--          factory="instance" name="h21">-->
<!--        <path>/lucene_thunwind_1</path>-->
<!--        <charset>GBK</charset>-->
<!--    </bean>-->

    <!--    <bean class="net.cyan.thunwind.fulltext.FullTextEngine"-->
    <!--          imp="net.cyan.thunwind.fulltext.ElasticSearchFullTextEngineFactory"-->
    <!--          factory="instance">-->
    <!--        <server>http://127.0.0.1:9200</server>-->
    <!--        <log>true</log>-->
    <!--        <maxShards>200</maxShards>-->
    <!--    </bean>-->

    <net.cyan.thunwind.fulltext.FullTextConfig>
        <log>true</log>
        <indexThreadCount>10</indexThreadCount>
        <indexPartitionFetchSize>50</indexPartitionFetchSize>
    </net.cyan.thunwind.fulltext.FullTextConfig>
</config>