views:

50

answers:

2

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
Wow. Possibly right on target. I will look into this and post back :)
Josh
mark accepted? ;)
bwawok
Turns out that is a lot more complicated to implement than we had hoped. Exploring the solution Mauricio suggested...
Josh
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
Looking into this...
Josh