Hi Tim,

Seems that we can exclude mime types parser only [1]

How about globally excluding such mime-types? Is there any way to define it?

[1] https://tika.apache.org/1.26/configuring.html

Kind Regards,
Furkan KAMACI

On Thu, May 20, 2021 at 6:36 PM Tim Allison <[email protected]> wrote:

> All,
>
> Let's say I don't want to parse old iWorks files (zip-based file
> format).  I can exclude that parser via TikaConfig, but then it gets
> parsed by the PackageParser.  So, then I have to decorate the
> PackageParser with mime-exclude=application/iworks... or add an
> EmptyParser that handles application/iWorks.
>
> Do we have a way to say: I only want the PackageParser to process
> actual zip files and not zip-based files generally ... without having
> to enumerate the zip-based files.
>
> Thank you.
>
> Cheers,
>
>           Tim
>

Reply via email to