On 1/3/2013 12:24 PM, Mark Bennett wrote:
I know I've seen this before, but I'll be darned if I can find it on Google.I have a SolrJ app that normally submits data to Solr 4.x. But sometimes it needs to submit to 1.4.1 for reasons I won't go in to. I'd like to stick with the 4.x jar files, but still submit to 1.x, and my understanding was that this was possible if using XML.
This should work: server.setParser(new XMLResponseParser());