haven't tried this personally, but try this:

server.setParser(new XMLResponseParser());


Best

Erick



On Mon, Dec 3, 2012 at 10:24 AM, Steve Molloy <smol...@opentext.com> wrote:

>  I’ve been digging around a bit and could not find any straight-forward
> way of getting back the XML response after calling Solr using Solrj. The
> query method returns a QueryResponse object, which is great in most cases.
> But our use case implies pushing the response back to whatever format was
> requested, but still use the CloudSolrServer client. This is very easy with
> the javabin format, using the JavaBinCodec, but is there equivalent
> utilities to marshal into other formats from a NamedList? Otherwise, could
> the functionality be isolated for better reuse?****
>
> ** **
>
> Thanks,****
>
> ** **
>
> *Steve Molloy*
> Content Analytics Lead  |  R&D****
>
> Phone:****
>
> (514) 908-5406 406****
>
> Website:****
>
> www.opentext.com****
>
> [image: 
> http://www.opentext.com/2/emailsupport-logo-opentext-2010.gif]<http://www.opentext.com/2/email-signature-logo>
>
> Nstein is now OpenText.
> *Please update your address book with my new email address.*
>
> This email message is confidential, may be privileged, and is intended for
> the exclusive use of the addressee. Any other person is strictly prohibited
> from disclosing or reproducing it. If the addressee cannot be reached or is
> unknown to you, please inform the sender by return email and delete this
> email message and all copies immediately.****
>
> ** **
>

<<image001.gif>>

Reply via email to