You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/08/22 16:23:41 UTC
svn commit: r234494 -
/incubator/jackrabbit/trunk/core/src/conf/repository.xml
Author: mreutegg
Date: Mon Aug 22 07:23:39 2005
New Revision: 234494
URL: http://svn.apache.org/viewcvs?rev=234494&view=rev
Log:
JCR-190: Caching in QueryHandler does not scale well
- sample configuration for cache size using default value
Modified:
incubator/jackrabbit/trunk/core/src/conf/repository.xml
Modified: incubator/jackrabbit/trunk/core/src/conf/repository.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/conf/repository.xml?rev=234494&r1=234493&r2=234494&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/conf/repository.xml (original)
+++ incubator/jackrabbit/trunk/core/src/conf/repository.xml Mon Aug 22 07:23:39 2005
@@ -208,12 +208,14 @@
- mergeFactor: determines how often segment indices are merged
- bufferSize: maximum number of documents that are held in a pending
queue until added to the index
+ - cacheSize: size of the document number cache. This cache maps
+ uuids to lucene document numbers
- forceConsistencyCheck: runs a consistency check on every startup. If
false, a consistency check is only performed when the search index
detects a prior forced shutdown.
- autoRepair: errors detected by a consistency check are automatically
repaired. If false, errors are only written to the log.
-
+
Note: all parameters (except path) in this SearchIndex config are default
values and can be omitted.
-->
@@ -225,6 +227,7 @@
<param name="maxMergeDocs" value="100000"/>
<param name="mergeFactor" value="10"/>
<param name="bufferSize" value="10"/>
+ <param name="cacheSize" value="1000"/>
<param name="forceConsistencyCheck" value="false"/>
<param name="autoRepair" value="true"/>
</SearchIndex>