The question is simple - we have a sample / test Solr app running that only responds with XML right now. Is there an easy way to change that output to HTML? Running Tomcat as the app server.
+1
A:
You need to do XSLT transformations. There are a few samples built in I believe... check out http://wiki.apache.org/solr/XsltResponseWriter
bwawok
2010-06-16 02:05:24
Wow. Possibly right on target. I will look into this and post back :)
Josh
2010-06-16 02:18:46
mark accepted? ;)
bwawok
2010-06-16 16:58:06
Turns out that is a lot more complicated to implement than we had hoped. Exploring the solution Mauricio suggested...
Josh
2010-06-17 19:18:47
A:
Check out VelocityResponseWriter (aka Solritas) which uses Velocity templates to generate output. It's substantially easier to use than XSLT.
Here's an introduction.
Mauricio Scheffer
2010-06-16 12:27:33