knguyen 2005/06/03 12:57:35 CEST
Modified files: (Branch: JAHIA-4-1-BRANCH)
etc/config config.xml
Log:
- all search settings removed from web.xml and put in config.xml
Revision Changes Path
1.1.2.1.2.4 +22 -1 jahia/etc/config/config.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/etc/config/config.xml.diff?r1=1.1.2.1.2.3&r2=1.1.2.1.2.4&f=h
Index: config.xml
===================================================================
RCS file: /cvs/jahia/etc/config/Attic/config.xml,v
retrieving revision 1.1.2.1.2.3
retrieving revision 1.1.2.1.2.4
diff -u -r1.1.2.1.2.3 -r1.1.2.1.2.4
--- config.xml 1 Jun 2005 10:46:13 -0000 1.1.2.1.2.3
+++ config.xml 3 Jun 2005 10:57:35 -0000 1.1.2.1.2.4
@@ -53,7 +53,28 @@
<props>
<prop key="inMemoryIndexe.allowed">true</prop>
<prop key="inMemoryIndexe.maxDocs">1000</prop>
- <prop key="optimizationInterval">300000</prop>
+ <prop key="optimizationInterval">120000</prop>
+ <prop
key="scheduledJobInterval">1000</prop><!-- File indexing sleep interval-->
+ <!-- lucene system property parameter -->
+ <!--
+ Lucene Property System Property
Default Value
+ mergeFactor
org.apache.lucene.mergeFactor 10
+ minMergeDocs
org.apache.lucene.minMergeDocs 10
+ maxMergeDocs
org.apache.lucene.maxMergeDocs Integer.MAX_VALUE
+ maxFieldLength
org.apache.lucene.maxFieldLength 10000
+ COMMIT_LOCK_TIMEOUT
org.apache.lucene.commitLockTimeout 10000 ms
+ WRITE_LOCK_TIMEOUT
org.apache.lucene.writeLockTimeout 1000 ms
+ maxClauseCount
org.apache.lucene.maxClauseCount 1024
+ lockDir
org.apache.lucene.lockDir the value of
java.io.tmpdir system property
+ -->
+ <prop
key="org.apache.lucene.mergeFactor">10</prop>
+ <prop
key="org.apache.lucene.minMergeDocs">50</prop>
+ <prop
key="org.apache.lucene.commitLockTimeout">60000</prop>
+ <prop
key="org.apache.lucene.writeLockTimeout">6000</prop>
+ <prop
key="org.apache.lucene.maxClauseCount">10000</prop>
+ <prop
key="org.apache.lucene.searchIndexRootDir">/WEB-INF/var/search_indexes</prop>
+ <prop
key="org.apache.lucene.localIndexing">1</prop><!-- 1: allow local indexing, 0:
do not index ( when sharing a same index directory in a clustered environment
-->
+ <prop
key="org.apache.lucene.backgroundIndexing.priority">5</prop><!-- define the
priority of indexation in background 1 = Thread.MIN_PRIORITY, 5 =
Thread.NORM_PRIORITY, 10 = Thread.MAX_PRIORITY -->
</props>
</property>
</bean>