lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Bell <billnb...@gmail.com>
Subject Re: DataImportHandler in Solr 4.0
Date Thu, 24 Feb 2011 00:24:42 GMT
It is a contrib module. But the example solrconfig should have the lib set.

Bill Bell
Sent from mobile


On Feb 23, 2011, at 5:13 PM, Estrada Groups <estrada.adam.groups@gmail.com> wrote:

> Curious...why was this feature removed?
> 
> Adam
> 
> On Feb 23, 2011, at 6:55 PM, "Smiley, David W." <dsmiley@mitre.org> wrote:
> 
>> The DIH is no longer supplied embedded in the Solr war file.  You need to get it
on the classpath somehow. You could add another <lib... statement to solrconfig.xml to
resolve this.
>> 
>> ~ David Smiley
>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
>> 
>> On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote:
>> 
>>> Hi guys,
>>> 
>>> I'm having some issues when trying to use the DataImportHandler on Solr 4.0.
>>> 
>>> I've downloaded the latest nightly build of Solr 4.0 and configured normally
>>> (on the example folder) solrconfig.xml file like this:
>>> 
>>> <requestHandler name="/dataimport"
>>> class="org.apache.solr.handler.dataimport.DataImportHandler">
>>> <lst name="defaults">
>>> <str name="config">data-config.xml</str>
>>> </lst>
>>> </requestHandler>
>>> 
>>> At this point I noticed that the DIH jar was not being loaded correctly
>>> causing exceptions like:
>>> Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'
>>> and
>>> java.lang.ClassNotFoundException:
>>> org.apache.solr.handler.dataimport.DataImportHandler
>>> 
>>> Do I need to build to get DIH running on Solr 4.0?
>>> 
>>> Thanks!
>>> Alexandre
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 

Mime
View raw message