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

Command line option --list-parsers should list 2nd level parsers below CompositeParsers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.8
    • cli
    • None

    Description

      The command line options --list-parsers and --list-parser-details are very useful to quickly see which parsers and mime-types are configured.

      However, after the introduction of DefaultParser, the list has become less useful as it only lists the DefaultParser with all mime-types as children.

      A better way would be to list the 2nd level parsers below the CompositeParser:

      org.apache.tika.parser.DefaultParser (Composite Parser):
        org.apache.tika.parser.asm.ClassParser
          application/java-vm
        org.apache.tika.parser.audio.AudioParser
          audio/x-aiff
          audio/x-wav
          audio/basic
          [...]
      

      Attachments

        1. TIKA-537.patch
          5 kB
          Jan Høydahl
        2. TIKA-537.patch
          4 kB
          Jan Høydahl

        Activity

          People

            chrismattmann Chris A. Mattmann
            janhoy Jan Høydahl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: