jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject how to verify that text is being indexed?
Date Thu, 29 Jun 2006 15:48:22 GMT
I have trouble doing some queries, eg

/jcr:root//element(*,nt:resource)[jcr:contains(.,'t')]

where the result come up empty. The text has content type text/xml. How 
can I verify that those nodes i save indeed are being indexed?

The relevant part of my repository.xml:

     <Workspace name="${wsp.name}">
         <FileSystem 
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
             <param name="path" value="${wsp.home}"/>
         </FileSystem>
         <PersistenceManager 
class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
         <SearchIndex 
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
             <param name="path" value="${wsp.home}/index"/>
             <param name="autoRepair" value="true"/>
             <param name="analyzer" 
value="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
             <param name="textFilterClasses"
 
value="org.apache.jackrabbit.core.query.MsExcelTextFilter,org.apache.jackrabbit.core.query.MsPowerPointTextFilter,org.apache.jackrabbit.core.query.MsreplaceTextFilter,org.apache.jackrabbit.core.query.PdfTextFilter,org.apache.jackrabbit.core.query.HTMLTextFilter,org.apache.jackrabbit.core.query.XMLTextFilter,org.apache.jackrabbit.core.query.RTFTextFilter,org.apache.jackrabbit.core.query.OpenOfficeTextFilter"/>

         </SearchIndex>
     </Workspace>

-- 
-Torgeir

Mime
View raw message