ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Hi, I'm trying to get the Velocity / Solritas feature to work for one core of a two-core Solr instance, but it's not playing nice. I know the right jars are being loaded, because I can see them mentioned in the log, but still I get a class not found exception: 09-May-2010 15:34:02

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Erik Hatcher
What version of Solr? Try switching to class=solr.VelocityResponseWriter, and if that doesn't work use class=org.apache.solr.request.VelocityResponseWriter. The first form is the recommended way to do it. The actual package changed in trunk not too long ago. Erik On May 9,

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Erik Hatcher-4 wrote: What version of Solr? Try switching to class=solr.VelocityResponseWriter, and if that doesn't work use class=org.apache.solr.request.VelocityResponseWriter. The first form is the recommended way to do it. The actual package changed in trunk not too long

Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter

2010-05-09 Thread Andrew Clegg
Sorry -- in the second of those error messages (the NPE) I meant str name=defTypelucene/str not standard. Andrew Clegg wrote: Erik Hatcher-4 wrote: What version of Solr? Try switching to class=solr.VelocityResponseWriter, and if that doesn't work use

Fixed: Solritas on multicore Solr, using standard query handler (was Re: ClassNotFoundException: org.apache.solr.response.VelocityResponseWriter)

2010-05-09 Thread Andrew Clegg
Don't worry Erik -- I figured this one out. For the benefit of future searchers, you need str name=defTypelucene/str And to avoid the NullPointerException from the /solr/CORENAME/itas page, you actually need to supply a ?q=blah initial query. I just assumed it would give you a blank