Reputation: 3603
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.
Upvotes: 2
Views: 1635
Reputation: 99750
Check out VelocityResponseWriter (aka Solritas) which uses Velocity templates to generate output. It's substantially easier to use than XSLT.
Here's an introduction.
Upvotes: 3
Reputation: 15357
You need to do XSLT transformations. There are a few samples built in I believe... check out http://wiki.apache.org/solr/XsltResponseWriter
Upvotes: 2