Hi Noble,
According to the wiki, the following should work:
server.setParser(new XMLResponseParser());

However, I don't see that method. The only place I see that method even
being declared is in the SolrRequest class but then wiring that up with the
SolrServer and getting results wasn't overly obvious to me.

Thanks
Amit

On Fri, Feb 13, 2009 at 12:31 AM, Noble Paul നോബിള്‍ नोब्ळ् <
noble.p...@gmail.com> wrote:

> On Fri, Feb 13, 2009 at 1:16 PM, Amit Nithian <anith...@gmail.com> wrote:
> > I am using SolrJ from trunk and according to
> > http://wiki.apache.org/solr/Solrj you should be able to set the response
> > parser in the SolrServer interface layer; however, I am unable to do so
> and
> > I need the XML response support for querying and adding documents to a
> Solr
> > 1.2 instance. Also, I have changed the XML response for a particular
> query
> > handler and hence may need to alter the response parser to accommodate
> these
> > changes.
> setting a response parser should work , how do you know it does not work?
> > I know that the API is experimental but has trunk's version of the SolrJ
> API
> > changed with respect to SolrJ wiki?
> No. the trunk should still work w/ Solr 1.2
> >
> > Thanks
> > Amit
> >
>
>
>
> --
> --Noble Paul
>

Reply via email to