On 5/11/2013 11:22 PM, Shawn Heisey wrote:
> Initial note: There might be a showstopper with commit. I'm building a
> test program now to see.
Everything was fine with my test code:
String url = "http://host:port/solr/core";
SolrServer server = new CommonsHttpSolrServer(url);
server.commit();
server.commit(true,true);
The reason that I thought it might be a problem is because of bugs in
other Solr APIs, like this one:
https://bugs.php.net/bug.php?id=62332
I'm cautiously optimistic that you'll be able to use a SolrJ 3.5.0 app
against a 4.2.1 server, though you may end up adjusting the server
config. If the config originated with the old server version, it's less
likely that it will need adjusting.
Thanks,
Shawn