On 4/8/2015 6:30 AM, Chaushu, Shani wrote: > I tried to get the SolrJ in older version, but I'm using solr-spark package > and it fails with compilation errors probably because it uses function from > newer versions... > I can't find any solution...
Looking at the github repo for spark-solr, I see no releases, so I assume you're building it from source. The pom.xml that's in the repo currently uses SolrJ 4.10.3. With the server running 4.4, that's a very wide version spread. SolrCloud often will not work properly with a wide version difference between SolrJ and Solr. It seems that you've tried to downgrade SolrJ in the client code without success, which doesn't surprise me. I think you will have no choice but to upgrade Solr to the same version as SolrJ. It should be safe to go with 4.10.4 rather than 4.10.3 -- get the latest bugfixes. Thanks, Shawn