RE: Using Tika that comes with Solr 5.2

2016-02-03 Thread Allison, Timothy B.
ent: Wednesday, February 03, 2016 7:35 AM To: solr-user@lucene.apache.org Subject: RE: Using Tika that comes with Solr 5.2 Right. Thank you for reporting the solution. Be aware, though, that some parser dependencies are not included with the Solr distribution, and, because of the way that T

RE: Using Tika that comes with Solr 5.2

2016-02-03 Thread Allison, Timothy B.
mment-14385803 -Original Message- From: Steven White [mailto:swhite4...@gmail.com] Sent: Tuesday, February 02, 2016 7:39 PM To: solr-user@lucene.apache.org Subject: Re: Using Tika that comes with Solr 5.2 I found my issue. I need to include JARs off: \solr\contrib\extraction\lib\ Steve On Tu

Re: Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
the app in the same JVM as Solr...without a >> custom class loader. The Solr team carefully prunes the dependencies when >> integrating Tika and makes sure that the main parsers _just work_. >> >> >> -Original Message- >> From: Steven White [mailto:swhite

Re: Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
il.com] > Sent: Tuesday, February 02, 2016 2:53 PM > To: solr-user@lucene.apache.org > Subject: Using Tika that comes with Solr 5.2 > > Hi, > > I'm trying to use Tika that comes with Solr 5.2. The following code is not > working: > > publ

RE: Using Tika that comes with Solr 5.2

2016-02-02 Thread Allison, Timothy B.
the dependencies when integrating Tika and makes sure that the main parsers _just work_. -Original Message- From: Steven White [mailto:swhite4...@gmail.com] Sent: Tuesday, February 02, 2016 2:53 PM To: solr-user@lucene.apache.org Subject: Using Tika that comes with Solr 5.2 Hi, I&#

Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
Hi, I'm trying to use Tika that comes with Solr 5.2. The following code is not working: public static void parseWithTika() throws Exception { File file = new File("C:\\temp\\test.pdf"); FileInputStream in = new FileInputStream(file); AutoDetectParser parser = new AutoDetectParser();