Change the Tika API access. Use the TikaInputStream for increase the performance with the random access to the files (especially for ZIP and PDF). Use the default AutoDetectParser