Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3812

Parser Order: image get parsed by GDALParser instead of TesseractOCRParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.1
    • 2.5.0
    • parser
    • None

    Description

      The selected parser seems to be different in 2.4.1. For example sending an image (jpg/png) that was previously (2.4.0) processed by TesseractOCRParser, now gets parsed by GDALParser.

      Seems that when multiple parsers support same file types, the selected parser depends on the order in which they get loaded.

      For example the GDALParser, ImageParser and TesseractOCRParser all support image/jpeg, image/png, image/gif ...

      A recent change is reversing the parser order (TIKA-3750).

      Re-configuring the GDALParser by excluding the image mime types might work, but there could be other duplicated parsers.

      Attachments

        1. parser-diffs.tgz
          4 kB
          Tim Allison

        Activity

          People

            Unassigned Unassigned
            ecaruntu Eugen Caruntu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: