Re: Solrj client API and response in XML format (Solr 1.4)

2009-10-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
no need to use httpclient . use java.net.URL#openConnection(url) and read the inputstream into a buffer and that is it. On Sat, Oct 24, 2009 at 1:53 PM, SGE0 wrote: > > Hi Paul, > > thx again. > > Can I use this technique from within a servlet ? > > Do I need an instance of the HttpClient to do

Re: Solrj client API and response in XML format (Solr 1.4)

2009-10-24 Thread SGE0
Hi Paul, thx again. Can I use this technique from within a servlet ? Do I need an instance of the HttpClient to do that ? I noticed I can instantiate the CommonsHttpSolrServer with a HttpClient client . I did not find any relevant examples how to use this . If you can help me out with this m

Re: Solrj client API and response in XML format (Solr 1.4)

2009-10-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi you don't see the point . You really don't need to use SolrJ . All that you need to do is just make an http request with wt=json and read the output to a buffer and you can just send it to your client. --Noble On Fri, Oct 23, 2009 at 9:40 PM, SGE0 wrote: > > Hi All, > > After a day of sear