Code Ferret created JENA-1636:
---------------------------------
Summary: Log indexing errors and optionally ignore them
Key: JENA-1636
URL: https://issues.apache.org/jira/browse/JENA-1636
Project: Apache Jena
Issue Type: Improvement
Components: Text
Affects Versions: Jena 3.9.0
Reporter: Code Ferret
Assignee: Code Ferret
Fix For: Jena 3.10.0
If Lucene signals an error during indexing, the current jena-text does not log
any useful information about the triple that was being indexed so as to aid in
finding and fixing the error. Further, during development and production an
input may lead to an error and an upload of triples may be aborted which in
practice could be continued as long as the error is logged.
This improvement adds appropriate logging for {{TextIndexLucene.addDocument}}
and {{TextIndexLucene.updateDocument}} and adds a {{text:TextIndexLucene}}
option {{text:ignoreIndexErrors}} that simply ignores the error and continues.
There is a PR available.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)