(11/06/06 5:58), Muhannad wrote:
I tried to upgrade from 1.4 to solr 4.0 snapshot ,
I ran "ant example"
I used DataImportHandler to index database tables
after adding apache-dataimporthandeler to llib/ dir and created
data-config.xml for the request handler in solr

*******************************************************************************************************************
org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.handler.dataimport.DataImportHandler'

**********************************************************************************************************************

CHANGES.txt says:

* The DataImportHandler jars are no longer included in the solr
  WAR and should be added in Solr's lib directory, or referenced
  via the <lib> directive in solrconfig.xml.

So you should have copy of the the following lines in solrconfig.xml:

  <lib dir="../../dist/" regex="apache-solr-clustering-\d.*\.jar" />
  <lib dir="../../contrib/clustering/lib/" />

and change "clustering" to "dataimporthandler".

koji
--
http://www.rondhuit.com/en/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to