Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.9.0
Description
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.