Believe there are no setParser method on CloudSolrServer? Have you tried this: XMLWriter.writeResponse(<a java.io.Writer for your XML output>, <your SolrQueryRequest>, <your SolrQueryResponse>) It will require you to include solr-core, since that is where XMLWriter lives. But it is a little inefficient, if I understand you correctly. If you have a CloudSolrServer doing a request and asks for a response in e.g. XML format, then this CloudSolrServer will receive a XML response over the wire, parse it into a SolrQueryResponse object and then you will take that SolrQueryResponse and serialize it back to XML. It would be nicer if you just used whatever was received on the wire directly. Regards, Per Steffensen Erick Erickson skrev: haven't tried this personally, but try this: |
- Solrj question Steve Molloy
- Re: Solrj question Erick Erickson
- Re: Solrj question Per Steffensen
- RE: Solrj question Steve Molloy
- Re: Solrj question Per Steffensen
- RE: Solrj question Steve Molloy
- Re: Solrj question Per Steffensen
- RE: Solrj question Steve Molloy
- RE: Solrj question Steve Molloy
- Re: Solrj question Chris Hostetter
- RE: Solrj question Steve Molloy