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
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,
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
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
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