How to configure Nuxeo 5.2 to use JCR
This section deals with fulltext indexing with Nuxeo 5.2 and Jackrabbit. Please read Nuxeo 5.2 with JCR and PostgreSQL for generic information and PostgreSQL-specific configuration. To allow fulltext indexing of attached documents in Nuxeo, the general information at http://wiki.apache.org/jackrabbit/IndexingConfiguration is relevant. For Nuxeo, use the following steps:- start Nuxeo once with the general Jackrabbit configuration described in other documents,
- stop Nuxeo,
- create the file $NUXEO/server/default/data/NXRuntime/repos/default/workspaces/default/indexing_configuration.xml as described below,
- modify the file $NUXEO/server/default/data/NXRuntime/repos/default/workspaces/default/workspace.xml as described below,
- start Nuxeo again.
<?xml version="1.0"?> <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.0.dtd"> <configuration xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:ecmdt="http://nuxeo.org/ecm/jcr/docs" xmlns:ecmft="http://nuxeo.org/ecm/jcr/fields"> <aggregate primaryType="ecmdt:File"> <include primaryType="ecmft:content">*</include> <include primaryType="ecmft:content">*/*/*</include> </aggregate> </configuration>
<SearchIndex class="org.nuxeo.ecm.core.repository.jcr.jackrabbit.SearchIndex"> <param name="path" value="${wsp.home}/index"/> <param name="indexingConfiguration" value="${wsp.home}/indexing_configuration.xml"/> <param name="textFilterClasses" value="org.apache.jackrabbit.extractor.MsWordTextExtractor, org.apache.jackrabbit.extractor.MsExcelTextExtractor, org.apache.jackrabbit.extractor.MsPowerPointTextExtractor, org.apache.jackrabbit.extractor.PdfTextExtractor, org.apache.jackrabbit.extractor.OpenOfficeTextExtractor, org.apache.jackrabbit.extractor.RTFTextExtractor, org.apache.jackrabbit.extractor.XMLTextExtractor"/> <param name="extractorPoolSize " value="2"/> </SearchIndex>
Version 3.2 last modified by Thierry Martins on 24/06/2009 at 17:05
Document data
Attachments:
No attachments for this document
Comments: 0