Regarding CloudSolrServer, I tried this briefly and found the client was only aware of the old shared clusterstate.json.
On 4 February 2017 at 06:23, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/3/2017 10:12 AM, Suresh Pendap wrote: > > Will Solrj client 4.10.3 version work with Solr 6.3 version of the > > server? I was trying to look up the documentation but no where the > > compatibility matrix between server and client is provided. Has some > > one already used this combination? > > If it's HttpSolrServer (HttpSolrClient in newer versions), chances are > good that it will work. The basic http API in Solr does not change > quickly. If you run into problems, provide detailed information here or > on the IRC channel and we'll try to help you work through them. > > I have done quite a bit of version mismatching with the http client. > Currently I have code with the 6.x client that connects to 4.x, 5.x, and > 6.x servers. I have also used older clients with newer servers and had > no issues. > > If it's CloudSolrServer (CloudSolrClient in newer versions), I wouldn't > even try to make it work with that wide a version discrepancy. > SolrCloud has evolved so rapidly over the last couple of years that > connecting different client and server versions may not work at all. > For best compatibility, they should be identical versions. If they > aren't, SolrJ should be newer than Solr, be from the same major version, > and not be offset by more than one or two minor releases. > > Thanks, > Shawn > >