On 9/21/2018 1:23 PM, tedsolr wrote:
My application environment runs java 1.8. However I'm stuck building to 1.7
for now. I can still use SolrJ 6.1 in my app as long as I only deploy the
SolrJ JAR and not build it from source. Right?

If you can get your code to build while targeting 1.7, I think it'll probably be fine, as long as it's running in Java 8.I do not know whether JDK8 is required for that build, but it wouldn't surprise me.

I'm curious why you're using such an old 6.x release of SolrJ. One reason that comes to mind is worry about version incompatibility with CloudSolrClient.  For CloudSolrClient, I would be trying the latest in that major version (which is 6.6.5 currently).  CloudSolrClient is sensitive to version differences, but as long as you're in the same major version and the client is newer than the server, compatibility should be pretty good.  For code using HttpSolrClient, I'd probably jump to the latest version, which is 7.4.0 currently.  I expect 7.5.0 to be announced early next week.

Thanks,
Shawn

Reply via email to