Re: Trouble Implementing Extracting Request Handler

2010-03-16 Thread Lance Norskog
org/apache/solr/util/plugin/SolrCoreAware in the stack trace refers to
an interface in the main Solr jar.

I think this means that putting all of the libs in
apache-tomcat-6.0.20/lib is a mistake: the classloader finds
ExtractingRequestHandler in
apache-tomcat-6.0.20/lib/apache-solr-cell-1.4.1-dev.jar, but that it
wants the above interface. The main Solr jar is not available somehow.
Since the solr-cell jar is in multiple places, we don't know exactly
how Tomcat finds it.

I suggest that you go back to a clean, empty Tomcat, and the original
Solr distribution. Copy the solr war file to the right directory in
Tomcat. Get Solr talking to your solr/ directory
(-Dsolr.solr.home=path). Now, check if the  directives in the
solrconfig.xml are right.



On Tue, Mar 16, 2010 at 4:19 PM, Steve Reichgut  wrote:
> Lance,
>
> I tried that but no luck. Just in case the relative paths were causing a
> problem, I also tried using absolute paths but neither seemed to help.
> First, I tried adding ** as the full
> directory so it would hopefully include everything. When that didn't work, I
> tried adding paths directly to the two Tika jar files in the Lib directory
> like this:
> * *and
> **
>
> Am I including them incorrectly somehow?
>
> Steve
>
> On 3/16/2010 3:38 PM, Lance Norskog wrote:
>>
>> NoClassDefFoundError usually means that the class was found, but it
>> needs other classes and those were not found. That is, Solr finds the
>> ExtractingRequestHandler jar but cannot find the Tika jars.
>>
>> In example/solr/conf/slrconfig.xml, there are several '> dir="path"/>' elements. These give classpath directories and jar files
>> to include when loading classes (and resource files). Try adding the
>> paths for your Tika jars as  directives.
>>
>> On Mon, Mar 15, 2010 at 9:02 PM, Steve Reichgut
>>  wrote:
>>
>>>
>>> Sure. I've attached two docs that have the stack trace and the full list
>>> of
>>> .jar files.
>>>
>>> On 3/15/2010 8:34 PM, Lance Norskog wrote:
>>>

 Please post the complete stack trace. Also, it will help if you make a
 full listing of all .jar files in the example/ directory.

 On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut
  wrote:


>
> Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
> follow-on error though. It is giving the following error:
> ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware
>
> Did we miss something else in the setup?
>
> Steve
>
> Is there something else we haven't copied
>
> On 3/15/2010 6:12 PM, Lance Norskog wrote:
>
>
>>
>> This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.
>>
>> The ExtractingRequestHandler libraries are in contrib/extracting/lib
>>
>> You need to make a directory example/solr/lib and copy into it the
>> apache-solr-cell jar from dist/ and all of the libraries from
>> contrib/extracting/lib. The Wiki page has not been updated for the
>> Solr 1.4 release. I just added a TODO to this effect.
>>
>> On 3/12/10, Steve Reichgut      wrote:
>>
>>
>>
>>>
>>> Hi Grant,
>>> Thanks for the feedback. In reading the Wiki, it recommended that you
>>> copy everything from example/solr/libs directory into a /libs
>>> directory
>>> in your instance. I went into my example/solr directory and only see
>>> two
>>> directories - "bin" and "conf". There is no "libs" directory. Where
>>> else
>>> can I get the contents of what should be in "libs"?
>>>
>>> Steve
>>>
>>> On 3/12/2010 2:15 PM, Grant Ingersoll wrote:
>>>
>>>
>>>

 On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:





>
> Now that I have configured my Solr instance for standard indexing,
> I
> wanted to start indexing PDF's, MS Doc's, etc. When I tried to test
> it
> with a simple PDF file, I got the following error:
>
>    org.apache.solr.common.SolrException: lazy loading error
>    Caused by: org.apache.solr.common.SolrException: Error loading
> class
>    'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>
> Based on the error, it appeared that the problem is caused by
> certain
> components not being installed or installed correctly. Since I am
> not
> a
> Java guy, I had my Java person try to install the
> ExtractingRequestHandler to no avail. He had said that he was
> having
> real
> trouble finding good documentation on how to install and enable
> this
> handler.
>
> Could anyone point me to good documentation on how to
> install/troubleshoot this?
>
>
>
>

 http://wiki.apache.org/solr/ExtractingRequestHandler


Re: Trouble Implementing Extracting Request Handler

2010-03-16 Thread Steve Reichgut

Lance,

I tried that but no luck. Just in case the relative paths were causing a 
problem, I also tried using absolute paths but neither seemed to help. 
First, I tried adding ** as the 
full directory so it would hopefully include everything. When that 
didn't work, I tried adding paths directly to the two Tika jar files in 
the Lib directory like this:

* *and
**

Am I including them incorrectly somehow?

Steve

On 3/16/2010 3:38 PM, Lance Norskog wrote:

NoClassDefFoundError usually means that the class was found, but it
needs other classes and those were not found. That is, Solr finds the
ExtractingRequestHandler jar but cannot find the Tika jars.

In example/solr/conf/slrconfig.xml, there are several '' elements. These give classpath directories and jar files
to include when loading classes (and resource files). Try adding the
paths for your Tika jars as  directives.

On Mon, Mar 15, 2010 at 9:02 PM, Steve Reichgut  wrote:
   

Sure. I've attached two docs that have the stack trace and the full list of
.jar files.

On 3/15/2010 8:34 PM, Lance Norskog wrote:
 

Please post the complete stack trace. Also, it will help if you make a
full listing of all .jar files in the example/ directory.

On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut
  wrote:

   

Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
follow-on error though. It is giving the following error:
ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware

Did we miss something else in the setup?

Steve

Is there something else we haven't copied

On 3/15/2010 6:12 PM, Lance Norskog wrote:

 

This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

The ExtractingRequestHandler libraries are in contrib/extracting/lib

You need to make a directory example/solr/lib and copy into it the
apache-solr-cell jar from dist/ and all of the libraries from
contrib/extracting/lib. The Wiki page has not been updated for the
Solr 1.4 release. I just added a TODO to this effect.

On 3/12/10, Steve Reichgut  wrote:


   

Hi Grant,
Thanks for the feedback. In reading the Wiki, it recommended that you
copy everything from example/solr/libs directory into a /libs directory
in your instance. I went into my example/solr directory and only see
two
directories - "bin" and "conf". There is no "libs" directory. Where
else
can I get the contents of what should be in "libs"?

Steve

On 3/12/2010 2:15 PM, Grant Ingersoll wrote:


 

On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:




   

Now that I have configured my Solr instance for standard indexing, I
wanted to start indexing PDF's, MS Doc's, etc. When I tried to test
it
with a simple PDF file, I got the following error:

org.apache.solr.common.SolrException: lazy loading error
Caused by: org.apache.solr.common.SolrException: Error loading
class
'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain
components not being installed or installed correctly. Since I am not
a
Java guy, I had my Java person try to install the
ExtractingRequestHandler to no avail. He had said that he was having
real
trouble finding good documentation on how to install and enable this
handler.

Could anyone point me to good documentation on how to
install/troubleshoot this?



 

http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before
starting.

-Grant





   


 


   


 



   


 



   




Re: Trouble Implementing Extracting Request Handler

2010-03-16 Thread Lance Norskog
NoClassDefFoundError usually means that the class was found, but it
needs other classes and those were not found. That is, Solr finds the
ExtractingRequestHandler jar but cannot find the Tika jars.

In example/solr/conf/slrconfig.xml, there are several '' elements. These give classpath directories and jar files
to include when loading classes (and resource files). Try adding the
paths for your Tika jars as  directives.

On Mon, Mar 15, 2010 at 9:02 PM, Steve Reichgut  wrote:
> Sure. I've attached two docs that have the stack trace and the full list of
> .jar files.
>
> On 3/15/2010 8:34 PM, Lance Norskog wrote:
>>
>> Please post the complete stack trace. Also, it will help if you make a
>> full listing of all .jar files in the example/ directory.
>>
>> On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut
>>  wrote:
>>
>>>
>>> Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
>>> follow-on error though. It is giving the following error:
>>> ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware
>>>
>>> Did we miss something else in the setup?
>>>
>>> Steve
>>>
>>> Is there something else we haven't copied
>>>
>>> On 3/15/2010 6:12 PM, Lance Norskog wrote:
>>>

 This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

 The ExtractingRequestHandler libraries are in contrib/extracting/lib

 You need to make a directory example/solr/lib and copy into it the
 apache-solr-cell jar from dist/ and all of the libraries from
 contrib/extracting/lib. The Wiki page has not been updated for the
 Solr 1.4 release. I just added a TODO to this effect.

 On 3/12/10, Steve Reichgut    wrote:


>
> Hi Grant,
> Thanks for the feedback. In reading the Wiki, it recommended that you
> copy everything from example/solr/libs directory into a /libs directory
> in your instance. I went into my example/solr directory and only see
> two
> directories - "bin" and "conf". There is no "libs" directory. Where
> else
> can I get the contents of what should be in "libs"?
>
> Steve
>
> On 3/12/2010 2:15 PM, Grant Ingersoll wrote:
>
>
>>
>> On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:
>>
>>
>>
>>
>>>
>>> Now that I have configured my Solr instance for standard indexing, I
>>> wanted to start indexing PDF's, MS Doc's, etc. When I tried to test
>>> it
>>> with a simple PDF file, I got the following error:
>>>
>>>    org.apache.solr.common.SolrException: lazy loading error
>>>    Caused by: org.apache.solr.common.SolrException: Error loading
>>> class
>>>    'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>>>
>>> Based on the error, it appeared that the problem is caused by certain
>>> components not being installed or installed correctly. Since I am not
>>> a
>>> Java guy, I had my Java person try to install the
>>> ExtractingRequestHandler to no avail. He had said that he was having
>>> real
>>> trouble finding good documentation on how to install and enable this
>>> handler.
>>>
>>> Could anyone point me to good documentation on how to
>>> install/troubleshoot this?
>>>
>>>
>>>
>>
>> http://wiki.apache.org/solr/ExtractingRequestHandler
>>
>> Essentially, you need to make sure the ERH stuff is in Solr/lib before
>> starting.
>>
>> -Grant
>>
>>
>>
>>
>>
>
>


>>>
>>>
>>
>>
>>
>
>



-- 
Lance Norskog
goks...@gmail.com


Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Steve Reichgut
Sure. I've attached two docs that have the stack trace and the full list 
of .jar files.


On 3/15/2010 8:34 PM, Lance Norskog wrote:

Please post the complete stack trace. Also, it will help if you make a
full listing of all .jar files in the example/ directory.

On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut  wrote:
   

Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
follow-on error though. It is giving the following error:
ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware

Did we miss something else in the setup?

Steve

Is there something else we haven't copied

On 3/15/2010 6:12 PM, Lance Norskog wrote:
 

This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

The ExtractingRequestHandler libraries are in contrib/extracting/lib

You need to make a directory example/solr/lib and copy into it the
apache-solr-cell jar from dist/ and all of the libraries from
contrib/extracting/lib. The Wiki page has not been updated for the
Solr 1.4 release. I just added a TODO to this effect.

On 3/12/10, Steve Reichgutwrote:

   

Hi Grant,
Thanks for the feedback. In reading the Wiki, it recommended that you
copy everything from example/solr/libs directory into a /libs directory
in your instance. I went into my example/solr directory and only see two
directories - "bin" and "conf". There is no "libs" directory. Where else
can I get the contents of what should be in "libs"?

Steve

On 3/12/2010 2:15 PM, Grant Ingersoll wrote:

 

On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:



   

Now that I have configured my Solr instance for standard indexing, I
wanted to start indexing PDF's, MS Doc's, etc. When I tried to test it
with a simple PDF file, I got the following error:

org.apache.solr.common.SolrException: lazy loading error
Caused by: org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain
components not being installed or installed correctly. Since I am not a
Java guy, I had my Java person try to install the
ExtractingRequestHandler to no avail. He had said that he was having
real
trouble finding good documentation on how to install and enable this
handler.

Could anyone point me to good documentation on how to
install/troubleshoot this?


 

http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before
starting.

-Grant




   


 


   


 



   


./apache-tomcat-6.0.20/lib/dom4j-1.6.1.jar
./apache-tomcat-6.0.20/lib/annotations-api.jar
./apache-tomcat-6.0.20/lib/el-api.jar
./apache-tomcat-6.0.20/lib/jasper-jdt.jar
./apache-tomcat-6.0.20/lib/log4j-1.2.14.jar
./apache-tomcat-6.0.20/lib/tomcat-dbcp.jar
./apache-tomcat-6.0.20/lib/commons-lang-2.1.jar
./apache-tomcat-6.0.20/lib/geronimo-stax-api_1.0_spec-1.0.jar
./apache-tomcat-6.0.20/lib/jetty-6.1.3.jar
./apache-tomcat-6.0.20/lib/tomcat-i18n-ja.jar
./apache-tomcat-6.0.20/lib/tika-core-0.4.jar
./apache-tomcat-6.0.20/lib/icu4j-3.8.jar
./apache-tomcat-6.0.20/lib/servlet-api.jar
./apache-tomcat-6.0.20/lib/commons-compress-1.0.jar
./apache-tomcat-6.0.20/lib/apache-solr-cell-1.4.1-dev.jar
./apache-tomcat-6.0.20/lib/ooxml-schemas-1.0.jar
./apache-tomcat-6.0.20/lib/jempbox-0.2.0.jar
./apache-tomcat-6.0.20/lib/nekohtml-1.9.9.jar
./apache-tomcat-6.0.20/lib/bcprov-jdk14-136.jar
./apache-tomcat-6.0.20/lib/jsp-api.jar
./apache-tomcat-6.0.20/lib/catalina-ha.jar
./apache-tomcat-6.0.20/lib/xercesImpl-2.8.1.jar
./apache-tomcat-6.0.20/lib/tomcat-i18n-es.jar
./apache-tomcat-6.0.20/lib/poi-3.5-beta6.jar
./apache-tomcat-6.0.20/lib/tika-parsers-0.4.jar
./apache-tomcat-6.0.20/lib/jetty-util-6.1.3.jar
./apache-tomcat-6.0.20/lib/tomcat-coyote.jar
./apache-tomcat-6.0.20/lib/tomcat-i18n-fr.jar
./apache-tomcat-6.0.20/lib/commons-logging-1.1.1.jar
./apache-tomcat-6.0.20/lib/catalina-ant.jar
./apache-tomcat-6.0.20/lib/catalina.jar
./apache-tomcat-6.0.20/lib/xml-apis-1.0.b2.jar
./apache-tomcat-6.0.20/lib/poi-scratchpad-3.5-beta6.jar
./apache-tomcat-6.0.20/lib/poi-ooxml-3.5-beta6.jar
./apache-tomcat-6.0.20/lib/commons-io-1.4.jar
./apache-tomcat-6.0.20/lib/xmlbeans-2.3.0.jar
./apache-tomcat-6.0.20/lib/catalina-tribes.jar
./apache-tomcat-6.0.20/lib/fontbox-0.1.0.jar
./apache-tomcat-6.0.20/lib/bcmail-jdk14-136.jar
./apache-tomcat-6.0.20/lib/asm-3.1.jar
./apache-tomcat-6.0.20/lib/jasper.jar
./apache-tomcat-6.0.20/lib/pdfbox-0.7.3.jar
./apache-tomcat-6.0.20/lib/servlet-api-2.5-6.1.3.jar
./apache-tomcat-6.0.20/lib/commons-codec-1.3.jar
./apache-tomcat-6.0.20/lib/jasper-el.jar
./apache-tomcat-6.0.20/webapps/examples/WEB-INF/lib/jstl.jar
./apache-tomcat-6.0.20/webapps/examples/WEB-INF/lib/standard.jar
./apache-tomcat-6.0.20/webapps/solr/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar
./apache-tomcat-6.0.20/webapps/solr/WEB-INF/lib/commons-httpclient-3.1.jar
./apache-tomcat-6.0

Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Lance Norskog
Please post the complete stack trace. Also, it will help if you make a
full listing of all .jar files in the example/ directory.

On Mon, Mar 15, 2010 at 7:12 PM, Steve Reichgut  wrote:
> Thanks Lance. That helped ( we are using Solr-1.4). We've run into a
> follow-on error though. It is giving the following error:
> ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware
>
> Did we miss something else in the setup?
>
> Steve
>
> Is there something else we haven't copied
>
> On 3/15/2010 6:12 PM, Lance Norskog wrote:
>>
>> This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.
>>
>> The ExtractingRequestHandler libraries are in contrib/extracting/lib
>>
>> You need to make a directory example/solr/lib and copy into it the
>> apache-solr-cell jar from dist/ and all of the libraries from
>> contrib/extracting/lib. The Wiki page has not been updated for the
>> Solr 1.4 release. I just added a TODO to this effect.
>>
>> On 3/12/10, Steve Reichgut  wrote:
>>
>>>
>>> Hi Grant,
>>> Thanks for the feedback. In reading the Wiki, it recommended that you
>>> copy everything from example/solr/libs directory into a /libs directory
>>> in your instance. I went into my example/solr directory and only see two
>>> directories - "bin" and "conf". There is no "libs" directory. Where else
>>> can I get the contents of what should be in "libs"?
>>>
>>> Steve
>>>
>>> On 3/12/2010 2:15 PM, Grant Ingersoll wrote:
>>>

 On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:



>
> Now that I have configured my Solr instance for standard indexing, I
> wanted to start indexing PDF's, MS Doc's, etc. When I tried to test it
> with a simple PDF file, I got the following error:
>
>    org.apache.solr.common.SolrException: lazy loading error
>    Caused by: org.apache.solr.common.SolrException: Error loading class
>    'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>
> Based on the error, it appeared that the problem is caused by certain
> components not being installed or installed correctly. Since I am not a
> Java guy, I had my Java person try to install the
> ExtractingRequestHandler to no avail. He had said that he was having
> real
> trouble finding good documentation on how to install and enable this
> handler.
>
> Could anyone point me to good documentation on how to
> install/troubleshoot this?
>
>

 http://wiki.apache.org/solr/ExtractingRequestHandler

 Essentially, you need to make sure the ERH stuff is in Solr/lib before
 starting.

 -Grant




>>>
>>>
>>
>>
>
>



-- 
Lance Norskog
goks...@gmail.com


Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Steve Reichgut
Thanks Lance. That helped ( we are using Solr-1.4). We've run into a 
follow-on error though. It is giving the following error:

ClassNotFoundException: org.apache.solr.util.plugin.SolrCoreAware

Did we miss something else in the setup?

Steve

Is there something else we haven't copied

On 3/15/2010 6:12 PM, Lance Norskog wrote:

This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

The ExtractingRequestHandler libraries are in contrib/extracting/lib

You need to make a directory example/solr/lib and copy into it the
apache-solr-cell jar from dist/ and all of the libraries from
contrib/extracting/lib. The Wiki page has not been updated for the
Solr 1.4 release. I just added a TODO to this effect.

On 3/12/10, Steve Reichgut  wrote:
   

Hi Grant,
Thanks for the feedback. In reading the Wiki, it recommended that you
copy everything from example/solr/libs directory into a /libs directory
in your instance. I went into my example/solr directory and only see two
directories - "bin" and "conf". There is no "libs" directory. Where else
can I get the contents of what should be in "libs"?

Steve

On 3/12/2010 2:15 PM, Grant Ingersoll wrote:
 

On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:


   

Now that I have configured my Solr instance for standard indexing, I
wanted to start indexing PDF's, MS Doc's, etc. When I tried to test it
with a simple PDF file, I got the following error:

org.apache.solr.common.SolrException: lazy loading error
Caused by: org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain
components not being installed or installed correctly. Since I am not a
Java guy, I had my Java person try to install the
ExtractingRequestHandler to no avail. He had said that he was having real
trouble finding good documentation on how to install and enable this
handler.

Could anyone point me to good documentation on how to
install/troubleshoot this?

 

http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before
starting.

-Grant



   


 


   




Re: Trouble Implementing Extracting Request Handler

2010-03-15 Thread Lance Norskog
This assumes you use the Solr-1.4 release or the Solr-1.5-dev trunk.

The ExtractingRequestHandler libraries are in contrib/extracting/lib

You need to make a directory example/solr/lib and copy into it the
apache-solr-cell jar from dist/ and all of the libraries from
contrib/extracting/lib. The Wiki page has not been updated for the
Solr 1.4 release. I just added a TODO to this effect.

On 3/12/10, Steve Reichgut  wrote:
> Hi Grant,
> Thanks for the feedback. In reading the Wiki, it recommended that you
> copy everything from example/solr/libs directory into a /libs directory
> in your instance. I went into my example/solr directory and only see two
> directories - "bin" and "conf". There is no "libs" directory. Where else
> can I get the contents of what should be in "libs"?
>
> Steve
>
> On 3/12/2010 2:15 PM, Grant Ingersoll wrote:
>> On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:
>>
>>
>>> Now that I have configured my Solr instance for standard indexing, I
>>> wanted to start indexing PDF's, MS Doc's, etc. When I tried to test it
>>> with a simple PDF file, I got the following error:
>>>
>>>org.apache.solr.common.SolrException: lazy loading error
>>>Caused by: org.apache.solr.common.SolrException: Error loading class
>>>'org.apache.solr.handler.extraction.ExtractingRequestHandler'
>>>
>>> Based on the error, it appeared that the problem is caused by certain
>>> components not being installed or installed correctly. Since I am not a
>>> Java guy, I had my Java person try to install the
>>> ExtractingRequestHandler to no avail. He had said that he was having real
>>> trouble finding good documentation on how to install and enable this
>>> handler.
>>>
>>> Could anyone point me to good documentation on how to
>>> install/troubleshoot this?
>>>
>> http://wiki.apache.org/solr/ExtractingRequestHandler
>>
>> Essentially, you need to make sure the ERH stuff is in Solr/lib before
>> starting.
>>
>> -Grant
>>
>>
>>
>
>


-- 
Lance Norskog
goks...@gmail.com


Re: Trouble Implementing Extracting Request Handler

2010-03-12 Thread Steve Reichgut

Hi Grant,
Thanks for the feedback. In reading the Wiki, it recommended that you 
copy everything from example/solr/libs directory into a /libs directory 
in your instance. I went into my example/solr directory and only see two 
directories - "bin" and "conf". There is no "libs" directory. Where else 
can I get the contents of what should be in "libs"?


Steve

On 3/12/2010 2:15 PM, Grant Ingersoll wrote:

On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:

   

Now that I have configured my Solr instance for standard indexing, I wanted to 
start indexing PDF's, MS Doc's, etc. When I tried to test it with a simple PDF 
file, I got the following error:

   org.apache.solr.common.SolrException: lazy loading error
   Caused by: org.apache.solr.common.SolrException: Error loading class
   'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain 
components not being installed or installed correctly. Since I am not a Java 
guy, I had my Java person try to install the ExtractingRequestHandler to no 
avail. He had said that he was having real trouble finding good documentation 
on how to install and enable this handler.

Could anyone point me to good documentation on how to install/troubleshoot this?
 

http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before starting.

-Grant


   




Re: Trouble Implementing Extracting Request Handler

2010-03-12 Thread Grant Ingersoll

On Mar 12, 2010, at 2:20 PM, Steve Reichgut wrote:

> Now that I have configured my Solr instance for standard indexing, I wanted 
> to start indexing PDF's, MS Doc's, etc. When I tried to test it with a simple 
> PDF file, I got the following error:
> 
>   org.apache.solr.common.SolrException: lazy loading error
>   Caused by: org.apache.solr.common.SolrException: Error loading class
>   'org.apache.solr.handler.extraction.ExtractingRequestHandler'
> 
> Based on the error, it appeared that the problem is caused by certain 
> components not being installed or installed correctly. Since I am not a Java 
> guy, I had my Java person try to install the ExtractingRequestHandler to no 
> avail. He had said that he was having real trouble finding good documentation 
> on how to install and enable this handler.
> 
> Could anyone point me to good documentation on how to install/troubleshoot 
> this?

http://wiki.apache.org/solr/ExtractingRequestHandler

Essentially, you need to make sure the ERH stuff is in Solr/lib before starting.

-Grant



Trouble Implementing Extracting Request Handler

2010-03-12 Thread Steve Reichgut
Now that I have configured my Solr instance for standard indexing, I 
wanted to start indexing PDF's, MS Doc's, etc. When I tried to test it 
with a simple PDF file, I got the following error:


   org.apache.solr.common.SolrException: lazy loading error
   Caused by: org.apache.solr.common.SolrException: Error loading class
   'org.apache.solr.handler.extraction.ExtractingRequestHandler'

Based on the error, it appeared that the problem is caused by certain 
components not being installed or installed correctly. Since I am not a 
Java guy, I had my Java person try to install the 
ExtractingRequestHandler to no avail. He had said that he was having 
real trouble finding good documentation on how to install and enable 
this handler.


Could anyone point me to good documentation on how to 
install/troubleshoot this?


Steve