Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1636

Log indexing errors and optionally ignore them

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            code-ferret Code Ferret
            code-ferret Code Ferret
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: