| <?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> |
| <detectors> |
| <detector class="org.apache.tika.detect.TypeDetector"/> |
| </detectors> |
| <parsers> |
| <parser class="org.apache.tika.parser.DefaultParser"/> |
| <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/tiff</mime> |
| <mime>image/vnd.wap.wbmp</mime> |
| <mime>image/x-icon</mime> |
| <mime>image/x-psd</mime> |
| <mime>image/x-xcf</mime> |
| </parser> |
| </parsers> |
| <service-loader initializableProblemHandler="ignore" dynamic="true"/> |
| </properties> |