Also per def of CloudSolrClient.
SolrJ client class to communicate with SolrCloud. Instances of this class
communicate with Zookeeper to discover Solr endpoints for SolrCloud
collections, and then use the LBHttpSolrClient
Also, since CloudSolrClient is ZK aware it is notified when any Solr
instances go up and down so it will take the appropriate action. Also,
when indexing CloudSolrClient will send updates to the correct leader,
reducing the hops for indexing documents.
Short form: CloudSolrClient is preferred
S G,
Not sure about the documentation but:
The CloudSolrClient uses a connection to zookeeper to extract cluster
information like who is a the leader for a shard in a solr collection. To
create a CloudSolrClient all you specify is the zookeepers and which
collection you want to work with. Behind
Hi,
Does anyone know if CloudSolrClient is preferred over LBHttpSolrClient ?
If yes, why so and has there been any good performance benefits documented
anywhere?
Thanks
SG