Apologies for bumping such an old thread, but is there an official list 
somewhere of those filetypes that require the temporary file being created?

Thanks!

-----Original Message-----
From: Nick Burch [mailto:[email protected]] 
Sent: Tuesday, July 11, 2017 4:23 AM
To: [email protected]
Subject: Re: Parse file without creating tmp file

On Tue, 11 Jul 2017, aravinth thangasami wrote:
> Recently I have noticed tika creates a tmp file in before parsing the 
> stream.

Only for certain formats, generally where the underlying parsing library 
requires a file for random-access

> I don't have much experience in Tika but I feel it is an overhead.
> Can we achieve file parsing without writing to tmp file?

For some files, no, not without re-writing other open source libraries

For most, it isn't needed and Tika won't do it

Nick

Reply via email to