I wonder if anyone can help me. I am trying to create a custom response writer
that better meets my needs. I am trying to return json data in a format
required by dojo data components. As its json, ie text, I tried subclassing the
TextResponseWriter and implementing the QueryResponseWriter interface, compiled
a jar with this class, dropped it in the solr/lib directory and referenced the
response writer in solr-config. When the jetty server starts it has an error to
do with this new response writer...
Caused by: java.lang.InstantiationException:
com.ibm.swg.kmt.content.solr.plugin.DojoResponseWriter2
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.solr.core.Config.newInstance(Config.java:227)
... 28 more
Does anyone have any ideas? I seem to be able to create a responsewriter from
scratch with no problems but I want to use the base functionality in
TextResponseWriter.
Any help greatly appreciated.
ps. solr 1.2 on jetty.
Sean
_________________________________________________________________
Share what Santa brought you
https://www.mycooluncool.com