Nick Burch created TIKA-5094:
--------------------------------

             Summary: Tika App option --list-met-models is broken, should be 
fixed or removed
                 Key: TIKA-5094
                 URL: https://issues.apache.org/jira/browse/TIKA-5094
             Project: Tika
          Issue Type: Bug
          Components: app
    Affects Versions: 4.3.0
            Reporter: Nick Burch


Was back in TIKA-512 we added the {{--list-met-models}} option to the Tika App, 
which printed out the metadata models and their keys

At some point, that has gotten broken, it now just prints

{{$ java -jar tika-app/target/tika-app-4.2.1-SNAPSHOT.jar  --list-met-models}}
{{Serializable}}

 

Since we added that feature, we now track the namespaces and keys in the 
codebase:

[https://github.com/apache/tika/blob/main/tika-metadata-schema/src/main/resources/org/apache/tika/metadata/metadata-keys.json]

[https://github.com/apache/tika/blob/main/tika-metadata-schema/src/main/resources/org/apache/tika/metadata/metadata-open-namespaces.json]
 

We should either fix the Tika App option to work again (from the JSON files?), 
or remove that option and point people to the JSON files



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to