On 1/3/2013 12:39 PM, Shawn Heisey wrote:
This should work:

server.setParser(new XMLResponseParser());

Additional note, because I seem to have trouble getting this through the heads of the developers in my organization. Mark, this is not directed at you, I just feel it may need saying in general:

Setting server options only needs to happen once, after you first create the server object. It does not need to happen before every query. Additionally, you usually only need one server object for your entire application. If you are talking to multiple Solr servers or multiple Solr cores, then you need multiple objects.

Thanks,
Shawn

Reply via email to