mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<beans>
|
|
|
|
<bean id="indexRecoveryComponentBase" abstract="true" >
|
|
<property name="sessionFactory">
|
|
<ref bean="sessionFactory" />
|
|
</property>
|
|
<property name="transactionService">
|
|
<ref bean="transactionComponent" />
|
|
</property>
|
|
<property name="indexer">
|
|
<ref bean="indexerComponent" />
|
|
</property>
|
|
<property name="ftsIndexer">
|
|
<ref bean="LuceneFullTextSearchIndexer" />
|
|
</property>
|
|
<property name="searcher">
|
|
<ref bean="searchService" />
|
|
</property>
|
|
<property name="nodeService">
|
|
<ref bean="nodeService" />
|
|
</property>
|
|
<property name="stores">
|
|
<list>
|
|
<value>workspace://SpacesStore</value>
|
|
<value>workspace://lightWeightVersionStore</value>
|
|
<value>user://alfrescoUserStore</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- full node index recovery -->
|
|
<bean id="indexRecoveryComponent" class="org.alfresco.repo.node.index.FullIndexRecoveryComponent" parent="indexRecoveryComponentBase">
|
|
<property name="executeFullRecovery">
|
|
<value>false</value> <!-- enable this to start the full index recovery -->
|
|
</property>
|
|
<property name="runContinuously">
|
|
<value>false</value> <!-- ensure the index is up to date and then stop -->
|
|
</property>
|
|
<property name="waitTime">
|
|
<value>1000</value> <!-- milliseconds to wait between checks for new transactions -->
|
|
</property>
|
|
<property name="l2CacheMode">
|
|
<value>NORMAL</value> <!-- normal L2 cache usage (database is changed by this server only) -->
|
|
</property>
|
|
</bean>
|
|
|
|
</beans> |