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

Make ExternalParser support aliases for key names in extracted metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.17, 2.0.0-BETA, 2.1.0
    • parser
    • None

    Description

      Over in TIKA-1639, we were discussing the work outside of Tika that rgauss did (per gagravarr) on the EXIFTool parsing. I added support in TIKA-1639 for this, but one thing Ray's code-based work did that my config oriented work didn't is allow for renaming extracted metadata key names to better support having consistent metadata across parsers.

      Here's one way to do it:

      ExternalParser could have a config section like so:

      <aliases>
        <metadata key="foo" alias="bar"/>
        <metadata key="foo2" alias="bar2"/>
      </aliases>
      

      Then this could be used to rename metadata keys.
      I'll implement that in this issue.

      Attachments

        Issue Links

          Activity

            People

              chrismattmann Chris A. Mattmann
              chrismattmann Chris A. Mattmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: