[ 
https://issues.apache.org/jira/browse/TIKA-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224914#comment-14224914
 ] 

Chris A. Mattmann commented on TIKA-1488:
-----------------------------------------

+1 to proposal #1, great work Tim.

> Add X-Tika- as "namespace" for info from Tika about the parsing process
> -----------------------------------------------------------------------
>
>                 Key: TIKA-1488
>                 URL: https://issues.apache.org/jira/browse/TIKA-1488
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Trivial
>
> As we discuss moving into more complex combinations of parsers, there may be 
> a usefulness for Tika to report information about the parsing process via the 
> Metadata object.  There are a few areas where we're already doing this, such 
> as the "X-ParsedBy" key or a few others that I've added in the RTFParser, the 
> PDFParser and the RecursiveParserWrapper.
> I'm opening this issue for discussion and input from the community.
> Proposal 1: We add a prefix String "X-TIKA-" to TikaCoreProperties that 
> parsers should use as a property prefix when they want to report something 
> about the parsing process via the Metadata object, e.g.:
> X-TIKA-millisToParse
> X-TIKA-embeddedDocException
> Proposal 2: We start adding specific properties to TikaCoreProperties or 
> maybe create a TikaMetaMetaProperties class to store these. :)
> Do we want to do something like this?  Is there a better mechanism?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to