Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

The method of indexing content in XperienCentral was changed in version R28 and further refined in version R29.


Beginning in version R28, GX Software uses an XperienCentral-optimized implementation for indexing content. In XperienCentral R28, the implementation ran alongside the Apache Jackrabbit JCR index functionality. In XperienCentral versions R27 and earlier, XperienCentral used only Apache Jackrabbit for content indexing. Beginning in XperienCentral version R29, the Apache Jackrabbit JCR index functionality is disabled by default. If you want to use Apache Jackrabbit with XperienCentral, follow the steps below in this topic. If you do not configure XperienCentral to use Apache Jackrabbit, the following functionality does not work out-of-the-box:


In This Topic



Configuring Apache Jackrabbit

  1. Stop XperienCentral.
  2. Open the file <wm-root>/work/<jcr directory>/repository.xml in a text editor.
  3. Add the following declarations to the <Workspace></Workspace> section:

    <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>
  4. Add the following declarations to the <Versioning></Versioning> section:


    <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>



  5. Save repository.xml.
  6. Delete the directory <wm-root>/work/jcr/repository.
  7. Restart XperienCentral. The Apache Jackrabbit JCR index will be built.


Back to Top











  • No labels