Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7251

BinaryTextExtractor should not ignore parse exception - they should at least be logged at DEBUG in all cases

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0, 1.10.0, 1.8.16
    • lucene
    • None

    Description

      BinaryTextExtractor ignores missing library error like:

              } catch (LinkageError e) {
                  // Capture and ignore errors caused by extraction libraries
                  // not being present. This is equivalent to disabling
                  // selected media types in configuration, so we can simply
                  // ignore these errors.
      

      or

                  // Capture and report any other full text extraction problems.
                  // The special STOP exception is used for normal termination.
                  if (!handler.isWriteLimitReached(t)) {
      

      We should at not skip these errors - some information should at least be available at DEBUG.

      Attachments

        Activity

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: