You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Selva Ganesan (JIRA)" <ji...@apache.org> on 2011/05/13 12:37:47 UTC
[jira] [Issue Comment Edited] (TIKA-512) Print the supported
Metadata models and their associated met keys in tika-app
[ https://issues.apache.org/jira/browse/TIKA-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032944#comment-13032944 ]
Selva Ganesan edited comment on TIKA-512 at 5/13/11 10:36 AM:
--------------------------------------------------------------
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.
-selva
was (Author: gselva):
Seems --list-met-models option doesn't work on 0.9 release.
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
---
Ran this on the Tika 0.9 release I just downloaded and compiled.
> 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
>
>
> 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