On Tue, 14 Oct 2014, Kamil Żyta wrote:
I want to use external parser but on web there isn't complex howto/tutorial. I only found parser/external/tika-external-parsers.xml sample configuration but I don't know how to register/enable this parser in tika parsers.
All you should need to do is provide a tika-external-parsers.xml file on your classpath (in the appropriate directory), which defines how to talk to your command line tool. Tika will find that and wire it up to the external parser for you
Tika has tests for the external parser included in it, you can try looking at those for inspiration
You can also look at the ffmpeg plugin for another example, that's based on the external parser - https://github.com/AlfrescoLabs/tika-ffmpeg
Nick
