ok,but is there an easy way to influence the format of json output? eg field order, names etc. maybe i want to group the result differently or add some infos
> -----Ursprüngliche Nachricht----- > Von: Jon Baer [mailto:jonb...@gmail.com] > Gesendet: Mittwoch, 26. Mai 2010 19:39 > An: solr-user@lucene.apache.org > Betreff: Re: XSLT for JSON > > 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.po > sitions&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. > >