On 6/28/2015 2:59 PM, Jorge Luis Betancourt González wrote: > Yes CloudSolrClient is better suited for cloud environments, in this case I'm > dealing with a single server with multiple collections. In the code I provide > the ability to switch to CloudSolrClient instead of CUSC if a zookeper URL is > specified, so for now this must work for cloud and non-cloud deployments.
Please also be aware that when using CUSC, the server could be entirely down and your code would be unaware that your document adds did not succeed. I believe that CUSC does throw a proper exception when you do a commit and it fails, but adds always appear to succeed, even if nothing actually gets indexed. https://issues.apache.org/jira/browse/SOLR-3284 Thanks, Shawn