jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KÖLL Claus <C.KO...@TIROL.GV.AT>
Subject AW: AW: Jackrabbit indexing in a separate thread
Date Wed, 22 Feb 2012 13:24:13 GMT

This way is also ok.
The tika-config File is used to define what file types should be indexed.
You should not change the File in the jackrabbit-core.  you must only 
put your custom tika-config.xml file into your workspace folder and configure the SearchIndex
to use it.

<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
  <param name="tikaConfigPath" value="${wsp.home}/tika-config.xml"/>

A sample tika config could be...

    <parser class="org.apache.tika.parser.DefaultParser"/>
    <parser class="org.apache.tika.parser.EmptyParser">

View raw message