It seems this thread has been hijacked. My initial posting was in
regards to my custom Evaluators always receiving a null context. Same
Evaluators work in 1.4.1
On 2/23/11 5:47 PM, Alexandre Rocco wrote:
I got it working by building the DIH from the contrib folder and made a
change on the lib statements to map the folder that contains the .jar files.
Thanks!
Alexandre
On Wed, Feb 23, 2011 at 8:55 PM, Smiley, David W.<dsmi...@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