You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Kevin Miller <ke...@oktax.state.ok.us> on 2009/07/13 22:06:33 UTC

Getting Tika to work with Solr

I am trying to get Tika to work with Solr.
 
My problem is that when I attempt to run the "mvn install" the build
fails.  Is there something that I am missing to get the files to build?
 
Kevin Miller
Oklahoma Tax Commission
Web Services
 

Re: Getting Tika to work with Solr

Posted by Grant Ingersoll <gs...@apache.org>.
Have you looked at http://wiki.apache.org/solr/ 
ExtractingRequestHandler?  Solr 1.4-dev has Tika integrated already.

On Jul 13, 2009, at 4:06 PM, Kevin Miller wrote:

> I am trying to get Tika to work with Solr.
>
> My problem is that when I attempt to run the "mvn install" the build  
> fails.  Is there something that I am missing to get the files to  
> build?
>
> Kevin Miller
> Oklahoma Tax Commission
> Web Services
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search


RE: Getting Tika to work with Solr

Posted by Kevin Miller <ke...@oktax.state.ok.us>.
Thank you for your help with this issue.  I have another question.
Where do I need to install Tika for Solr to find it.  I am using Solr
1.3. 


Kevin Miller
Web Services

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Monday, July 13, 2009 3:56 PM
To: tika-user@lucene.apache.org
Subject: Re: Getting Tika to work with Solr

Hi,

On Mon, Jul 13, 2009 at 10:45 PM, Kevin
Miller<ke...@oktax.state.ok.us> wrote:
> I am using Maven version 2.1.0 and the error I am getting is as
follows:
>
> Compilation failure
> C:\Tika\Apache~1.3\src\main\java\org\apache\tika\parser\microsoft\OOXM
> LE xtractorFactory.java:[44,23] cannot find symbol
> symbol: class XWPFWordExtractorDecorator
> location: class
> org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory

You're seeing issue TIKA-218 [1]. Check the
src\main\java\org\apache\tika\parser\microsoft\ooxml directory, where I
believe you'll find a file named
"XWPFWordExtractorDecorator.java0000644". Rename it to
"XWPFWordExtractorDecorator.java" and rerun the build.

This problem is an unfortunate side-effect of the packaging format we
use for the source release. We'll probably switch to using a source jar
in future releases.

BR,

Jukka Zitting


Re: Getting Tika to work with Solr

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Jul 13, 2009 at 10:45 PM, Kevin
Miller<ke...@oktax.state.ok.us> wrote:
> I am using Maven version 2.1.0 and the error I am getting is as follows:
>
> Compilation failure
> C:\Tika\Apache~1.3\src\main\java\org\apache\tika\parser\microsoft\OOXMLE
> xtractorFactory.java:[44,23] cannot find symbol
> symbol: class XWPFWordExtractorDecorator
> location: class
> org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory

You're seeing issue TIKA-218 [1]. Check the
src\main\java\org\apache\tika\parser\microsoft\ooxml directory, where
I believe you'll find a file named
"XWPFWordExtractorDecorator.java0000644". Rename it to
"XWPFWordExtractorDecorator.java" and rerun the build.

This problem is an unfortunate side-effect of the packaging format we
use for the source release. We'll probably switch to using a source
jar in future releases.

BR,

Jukka Zitting

RE: Getting Tika to work with Solr

Posted by Kevin Miller <ke...@oktax.state.ok.us>.
I am using Maven version 2.1.0 and the error I am getting is as follows:

Compilation failure
C:\Tika\Apache~1.3\src\main\java\org\apache\tika\parser\microsoft\OOXMLE
xtractorFactory.java:[44,23] cannot find symbol
symbol: class XWPFWordExtractorDecorator
location: class
org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory

 


Kevin Miller
Web Services

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Monday, July 13, 2009 3:37 PM
To: tika-user@lucene.apache.org
Subject: Re: Getting Tika to work with Solr

Hi,

On Mon, Jul 13, 2009 at 10:06 PM, Kevin
Miller<ke...@oktax.state.ok.us> wrote:
> My problem is that when I attempt to run the "mvn install" the build
fails.

What's the error message you're getting? Which Maven version are you
using?

BR,

Jukka Zitting


Re: Getting Tika to work with Solr

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Jul 13, 2009 at 10:06 PM, Kevin
Miller<ke...@oktax.state.ok.us> wrote:
> My problem is that when I attempt to run the "mvn install" the build fails.

What's the error message you're getting? Which Maven version are you using?

BR,

Jukka Zitting