This is an automated email from the ASF dual-hosted git repository. snagel pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nutch.git
commit 2be2052bc74a28cda9cbe6abf9cf5d2b06afcbc3 Author: Sebastian Nagel <[email protected]> AuthorDate: Fri Dec 15 14:13:53 2017 +0100 Add tika-config.xml to suppress Tika warnings on stderr --- conf/nutch-default.xml | 6 ++++++ conf/tika-config.xml.template | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml index a53cf7b..bcb2e9e 100644 --- a/conf/nutch-default.xml +++ b/conf/nutch-default.xml @@ -1407,6 +1407,12 @@ CAUTION: Set the parser.timeout to -1 or a bigger value than 30, when using this --> <property> + <name>tika.config.file</name> + <value>tika-config.xml</value> + <description>Nutch-specific Tika config file</description> +</property> + +<property> <name>tika.uppercase.element.names</name> <value>true</value> <description>Determines whether TikaParser should uppercase the element name while generating the DOM diff --git a/conf/tika-config.xml.template b/conf/tika-config.xml.template new file mode 100644 index 0000000..30af37d --- /dev/null +++ b/conf/tika-config.xml.template @@ -0,0 +1,20 @@ +<?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> + <service-loader initializableProblemHandler="ignore"/> +</properties> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
