https://tika.apache.org/3.0.0-BETA/parser_guide.html

You should be able to add your parser in a services file, and the way the
class loading sorting works, non-tika parsers should have a higher priority
automatically. If that doesn't work, we can update the documentation to
show what that would look like via the tika-config.xml. The best example I
can quickly find is this:
https://github.com/apache/tika/blob/main/tika-core/src/test/resources/org/apache/tika/config/mock-exclude.xml

Add the tika parser that handles the file format to the exclude clause, and
put your new parser below the DefaultParser.

On Wed, Jan 31, 2024 at 12:36 PM Slava G <[email protected]> wrote:

> Hi,
> If I want to create a new default parser that does some changes to the
> existing default parser (will inherit from the default parser), what is the
> proper way to configure tika server to use my parser as a default ?
>
> Thanks
>

Reply via email to