You should already get this out of the box ... just tack on a wt=json to the params ie ...
http://localhost:8983/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&qt=tvrh&tv=true&tv.tf=true&tv.df=true&tv.positions&tv.offsets=true&wt=json If you look @ /apache-solr-1.4.0/contrib/velocity/src/main you will see another writer which lets you use templates for formatting anyway you wish. Then you would end up with wt=velocity&velocity.template=mytemplate - Jon On May 26, 2010, at 1:03 PM, stockii wrote: > > Hello. > > I have a little/big problem. > > i want to change the response format from the TermsComponent. It is possible > to change with XSLT from XML to my JSON format ? or with xslt from json to > json ... ;-) > > the new JSON format should exactly the same like the standard response ... > > thx > -- > View this message in context: > http://lucene.472066.n3.nabble.com/XSLT-for-JSON-tp845386p845386.html > Sent from the Solr - User mailing list archive at Nabble.com.