use this constructor:
public CommonsHttpSolrServer(String solrServerUrl, HttpClient
httpClient, ResponseParser parser) throws MalformedURLException {
this(new URL(solrServerUrl), httpClient, parser, false);
}
and give it the XMLResponseParser
-- - - -
Is this just helpful for debugging with packet sniffing? the XML
format will be a bit slower then the binary format.
ryan
On May 4, 2009, at 8:22 AM, Erik Hatcher wrote:
Just out of curiosity, what's the use case for getting the result
back in XML from SolrJ?
Erik
On May 4, 2009, at 8:13 AM, ahmed baseet wrote:
Can we get the results as received by Solrj in XML format? If yes
how to do
that. I think there must be some way to make solrj returns results
in XML
format.
I need some pointers in this direction. As I know solrs returns the
result
in solrdocument format that we've to iterate to extract the fields.
Thank
you.
--Ahmed.