Show us the complete code you’re using. Is the “text” not HTML text? What are you receiving exactly and what you expecting instead?
To use SolrJ with other types of responses (non-XML/javabin) you’ll need to configure a ResponseParser. The NoOpResponseParser may do the trick, where you get back the text (though it would be HTML text) in the “response” key of the NamedList returned. Erik On Jun 19, 2014, at 10:27 AM, Venkata krishna <venkat1...@gmail.com> wrote: > Hi, > > I am using XSLResponseWriter on my application for to transform xml response > into html.The following params i have set for that purpose. > > query.set("wt", "xslt"); > query.set("indent","true"); > query.set("tr", "example.xsl"); > > but the response is coming as normal text.Even though i remove the params > the response is coming same as previous with out any change. > > I have also tried with velocity Response writer also by setting the > following params. > query.set("wt", "velocity"); > query.set("v.template","browse"); > query.set("v.layout", "layout"); > > then also i am getting same response as normal text. > > I would like to get html response. > > So could you please provide any solution. > > > Thanks, > > Venkata Krishna Tolusuri. > > > > > > > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Query-Response-in-Html-tp4142838.html > Sent from the Solr - User mailing list archive at Nabble.com.