So, trying to use a SolrJ 4.3 to talk to an old Solr 1.4. Specifically to add documents.

The wiki at http://wiki.apache.org/solr/Solrj suggests, I think, that this should work, so long as you:

server.setParser(new XMLResponseParser());

However, when I do this, I still get a org.apache.solr.common.SolrException: "parsing error" from org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:143)

(If I _don't_ setParser to XML, and use the binary parser... I get a fully expected error about binary format corruption -- that part is expected and I understand it, that's why you have to use the XMLResponseParser instead).

Am I not doing enough to my SolrJ 4.3 to get it to talk to the Solr 1.4 server in pure XML? I've set the parser to the XMLResponseParser, do I also have to somehow tell it to actually use the Solr 1.4 XML update handler or something? I don't entirely understand what I'm talking about.

Alternately... is it just a lost cause trying to get SolrJ 4.3 to talk to Solr 1.4, is the wiki wrong that this is possible?

Thanks for any help,

Jonathan

Reply via email to