Chris A. Mattmann created TIKA-1640:
---------------------------------------
Summary: Make ExternalParser support aliases for key names in
extracted metadata
Key: TIKA-1640
URL: https://issues.apache.org/jira/browse/TIKA-1640
Project: Tika
Issue Type: Improvement
Components: parser
Reporter: Chris A. Mattmann
Assignee: Chris A. Mattmann
Fix For: 1.9
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:
{code:xml}
<aliases>
<metadata key="foo" alias="bar"/>
<metadata key="foo2" alias="bar2"/>
</aliases>
{code}
Then this could be used to rename metadata keys.
I'll implement that in this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)