[ 
https://issues.apache.org/jira/browse/TIKA-512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Selva Ganesan updated TIKA-512:
-------------------------------

    Attachment: met-models.txt

Seems --list-met-models option doesn't work on 0.9 release as expected. 
I ran  [java -jar .\tika-app-0.9.jar --list-met-models] and saw the below 
printed:

TikaMetadataKeys
 PROTECTED
 RESOURCE_NAME_KEY
TikaMimeKeys
 MIME_TYPE_MAGIC
 TIKA_MIME_FILE

---
Commenting out the conditional [if 
(modelClass.getSimpleName().contains("Tika"))] in TikaCLI.displayMetModels() 
makes it work. I get the attached output(met-models.txt). Not sure if the 
output actually covers all supported metadata models as I think Tika actually 
supports more than what's listed in attached file. Perhaps, I am missing some 
obvious thing here?


> Print the supported Metadata models and their associated met keys in tika-app
> -----------------------------------------------------------------------------
>
>                 Key: TIKA-512
>                 URL: https://issues.apache.org/jira/browse/TIKA-512
>             Project: Tika
>          Issue Type: New Feature
>          Components: cli
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: met-models.txt
>
>
> It would be really nice to know what metadata models Tika supports, and the 
> associated met keys, in a way that's callable from the command line. In the 
> spirit of what Nick did in TIKA-470, I'm going to add it as an option to 
> tika-app's CLI interface.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to