On Jan 16, 2009, at 12:26 PM, Marc Sturlese wrote:
I would like to know if there is any way to customize the output xml
that
contains the response. I have been checking the source and looks for
me that
should be something close to XMLWriter.java and
XMLResponseWriter.java but
not sure about that... Is there any way to handle a pluggin to do
that?
There's an XSL option that you can use without writing any code:
<http://wiki.apache.org/solr/XsltResponseWriter>
But beyond that, you can write your own QueryResponseWriter
implementation and plug it into solrconfig.xml for
&wt=my_custom_writer. See Solr's example solrconfig.xml for details
on that.
Erik