John,
  Detect and parse are both thread-safe. If you find otherwise, that's
a bug!  Thank you!

          Best,

                    Tim

On Tue, May 25, 2021 at 4:53 PM John Ulric <[email protected]> wrote:
>
> Hi all, when I create an instance of org.apache.tika.Tika only to call 
> .detect(File), are that instance and the detect method supposed to be 
> thread-safe (as long I don't modify the TikaConfig, for example)? I've found 
> a couple of older messages and closed issues on Tika's thread-safety, but the 
> javadoc doesn't declare it neither thread-safe nor non-thread-safe 
> explicitly. Would it be better to keep by-thread instances?
>
> Thanks
> John
>

Reply via email to