...
Table of Contents | ||
---|---|---|
|
...
...
Configuring Apache Jackrabbit
If you want to use Apache Jackrabbit for frontend searches instead of the XperienCentral-optimized implementation, you must make a few configuration changes to your deployment.
<Workspace>
...
</Workspace>
Code Block | ||
---|---|---|
| ||
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${wsp.home}/index" />
<param name="respectDocumentOrder" value="false" />
<param name="useCompoundFile" value="true" />
<param name="minMergeDocs" value="100" />
<param name="volatileIdleTime" value="3" />
<param name="maxMergeDocs" value="100000" />
<param name="mergeFactor" value="100" /><!-- old: 10 -->
<param name="bufferSize" value="100" /><!-- old: 10 -->
<param name="cacheSize" value="100000" /><!-- old: 1000 -->
<param name="forceConsistencyCheck" value="false" />
<param name="autoRepair" value="true" />
<param name="onWorkspaceInconsistency" value="log" />
</SearchIndex> |
After
<Versioning>
...
</Versioning>
Code Block | ||
---|---|---|
| ||
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> <param name="path" value="${rep.home}/repository/index" /> <param name="respectDocumentOrder" value="false" /> <param name="useCompoundFile" value="true" /> <param name="minMergeDocs" value="100" /> <param name="volatileIdleTime" value="3" /> <param name="maxMergeDocs" value="100000" /> <param name="mergeFactor" value="100" /><!-- old: 10 --> <param name="bufferSize" value="100" /><!-- old: 10 --> <param name="cacheSize" value="100000" /><!-- old: 1000 --> <param name="forceConsistencyCheck" value="false" /> <param name="autoRepair" value="true" /> <param name="onWorkspaceInconsistency" value="log" /> </SearchIndex> |
...