[
https://issues.apache.org/jira/browse/TIKA-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xujunjie updated TIKA-979:
--------------------------
Attachment: TikaTest.java
Here is an example!
if you remove
//ta.tikaMetadata = new Metadata();
then there will be an exception.
> Metadata not clean after tikaParser.parser.
> -------------------------------------------
>
> Key: TIKA-979
> URL: https://issues.apache.org/jira/browse/TIKA-979
> Project: Tika
> Issue Type: Wish
> Components: parser
> Affects Versions: 1.2
> Environment: windows server 2008
> Reporter: Xujunjie
> Fix For: 1.3
>
> Attachments: TikaTest.java
>
>
> If we want to make tika to do things in batch. In tika 0.9 we can run
> tikaParser.parser(..) one by one to handle files in batch. But in tika 1.2,
> the Metadata is not clean after parser. So we have to clean the Metadata or
> just new a new Objcet of TikaMetadata for next parser.
> So I think we need add a function to clean Metadata or just clean after
> parser().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira