You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Steven White <sw...@gmail.com> on 2016/02/11 00:04:28 UTC
Using tika-app-1.11.jar
Hi everyone,
I'm including tika-app-1.11.jar with my application and see that Tika
includes "slf4j". This is conflicting with my own "slf4j". If I remove it
from Tika's JAR will that cause any issues?
I tested by removing it and tested and didn't see issue but would like to
know from the community.
A side note, when I removed "slf4j", logs in my Eclipse's Console are now
in red color (it use to be black before I integrated with
tika-app-1.11.jar). If I leave it, I still get red colored output, but
obviously I also get the "SLF4J: Class path contains multiple SLF4J
bindings" message.
Thanks
Steve
RE: Using tika-app-1.11.jar
Posted by "Allison, Timothy B." <ta...@mitre.org>.
Plan C: if you’re willing to store a mirror set of directories with the text versions of the files, just run tika-app.jar on your “input” directory and run your SolrJ loader on the “text/export” directory:
java -jar tika-app.jar <input> <output>
And, if you’re feeling jsonic:
java -jar tika-app.jar –J -t –i <input> -o <output>
This method of running Tika will be robust to OOM, permanent hangs and OS-destroying-your-process-out-of-self-preservation incidents.
From: Steven White [mailto:swhite4141@gmail.com]
Sent: Thursday, February 11, 2016 10:18 AM
To: user@tika.apache.org
Subject: Re: Using tika-app-1.11.jar
Thank you Nick and everyone who has helped me with my questions.
I'm now understand Tika much better vs. where I was at last week when I first looked at it.
Steve
On Thu, Feb 11, 2016 at 8:18 AM, Nick Burch <ap...@gagravarr.org>> wrote:
On Wed, 10 Feb 2016, Steven White wrote:
I'm including tika-app-1.11.jar with my application and see that Tika
includes "slf4j".
The Tika App single jar is intended for standalone use. It's not generally recommended to be included as part of a wider application, as it tends to include everything and the kitchen sink, to allow for easy standalone use
Generally, you should just tell Maven / Groovy / Ivy that you want to depend on Tika Core + Tika Parsers, then your build tool will fetch + bundle all the dependencies for you. That lets you have proper control over conflicting versions of jars etc
Nick
Re: Using tika-app-1.11.jar
Posted by Steven White <sw...@gmail.com>.
Thank you Nick and everyone who has helped me with my questions.
I'm now understand Tika much better vs. where I was at last week when I
first looked at it.
Steve
On Thu, Feb 11, 2016 at 8:18 AM, Nick Burch <ap...@gagravarr.org> wrote:
> On Wed, 10 Feb 2016, Steven White wrote:
>
>> I'm including tika-app-1.11.jar with my application and see that Tika
>> includes "slf4j".
>>
>
> The Tika App single jar is intended for standalone use. It's not generally
> recommended to be included as part of a wider application, as it tends to
> include everything and the kitchen sink, to allow for easy standalone use
>
> Generally, you should just tell Maven / Groovy / Ivy that you want to
> depend on Tika Core + Tika Parsers, then your build tool will fetch +
> bundle all the dependencies for you. That lets you have proper control over
> conflicting versions of jars etc
>
> Nick
>
Re: Using tika-app-1.11.jar
Posted by Nick Burch <ap...@gagravarr.org>.
On Wed, 10 Feb 2016, Steven White wrote:
> I'm including tika-app-1.11.jar with my application and see that Tika
> includes "slf4j".
The Tika App single jar is intended for standalone use. It's not generally
recommended to be included as part of a wider application, as it tends to
include everything and the kitchen sink, to allow for easy standalone
use
Generally, you should just tell Maven / Groovy / Ivy that you want to
depend on Tika Core + Tika Parsers, then your build tool will fetch +
bundle all the dependencies for you. That lets you have proper control
over conflicting versions of jars etc
Nick