Hi Claus,
I have attached workpsace.xml and tika-config.xml. Their location is:
'jackrabbit_repository_folder'\workspaces\default\tika-config.xml
'jackrabbit_repository_folder'\workspaces\default\workspace.xml
Regards,
Anton
Hi Anton,
Do you have configured it in the workspace.xml you are using in your tests ?
Maybe you will attach it .. so i can look whats going wrong ...
greets
claus
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<properties>
<parsers>
<parser class="org.apache.tika.parser.DefaultParser"/>
<!-- JCR-2838: Override the faulty PDF parser in Tika 0.8 -->
<!--
<parser class="org.apache.jackrabbit.core.query.pdf.PDFParser">
<mime>application/pdf</mime>
</parser>
-->
<parser class="org.apache.tika.parser.EmptyParser">
<!-- Disable package extraction as it's too resource-intensive -->
<mime>application/x-archive</mime>
<mime>application/x-bzip</mime>
<mime>application/x-bzip2</mime>
<mime>application/x-cpio</mime>
<mime>application/x-gtar</mime>
<mime>application/x-gzip</mime>
<mime>application/x-tar</mime>
<mime>application/zip</mime>
<!-- Disable image extraction as there's no text to be found -->
<mime>image/bmp</mime>
<mime>image/gif</mime>
<mime>image/jpeg</mime>
<mime>image/png</mime>
<mime>image/vnd.wap.wbmp</mime>
<mime>image/x-icon</mime>
<mime>image/x-psd</mime>
<mime>image/x-xcf</mime>
<mime>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime>
</parser>
</parsers>
</properties>
<?xml version="1.0" encoding="UTF-8"?>
<Workspace name="default">
<!-- virtual file system of the workspace: class: FQN of class implementing the FileSystem interface -->
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${wsp.home}"/>
</FileSystem>
<!-- persistence manager of the workspace: class: FQN of class implementing the PersistenceManager interface -->
<PersistenceManager class="org.apache.jackrabbit.core.persistence.pool.DerbyPersistenceManager">
<param name="url" value="jdbc:derby:${wsp.home}/db;create=true"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
</PersistenceManager>
<!-- Search index and the file system it uses. class: FQN of class implementing the QueryHandler interface -->
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="indexingConfiguration" value="${wsp.home}/tika-config.xml"/>
<param name="path" value="${wsp.home}/index"/>
<param name="supportHighlighting" value="false"/>
<param name="extractorPoolSize" value="4"/>
<!--
<param name="textFilterClasses" value="org.apache.jackrabbit.extractor.PlainTextExtractor, 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.HTMLTextExtractor, org.apache.jackrabbit.extractor.XMLTextExtractor"/>
-->
</SearchIndex>
</Workspace>