Hi,
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...
...
<parsers>
<parser class="org.apache.tika.parser.DefaultParser"/>
<parser class="org.apache.tika.parser.EmptyParser">
<mime>application/pdf</mime>
</parser>
</parsers>
...
greets
claus