Hi Peter, Are you using tika-app, tika-server or something programmatic? On Tue, Dec 22, 2020 at 2:21 PM Peter Kronenberg <[email protected]> wrote:
> Hi, I just started playing with Tika and I have a few questions > > > > I’m trying to detect the mimetype of a file using both > > > > Tika.detect(InputStream) > > and > > Tika.detect(File) > > > > I get 2 different results. I’m testing with a Microsoft Word (.doc) file. > > > > As a stream, I get application/x-tika-msoffice. As a file I get > application/msword > > > > Why are they different? > > > > I was also wondering why the mimetype is not returned in the metadata when > parsing a file > > > > Thank you > > Peter >
