: I manage a SolrCloud with 5 shards.  Queries go thru an AWS load balancer but
: indexing does not, so my leader1 is getting clobbered.  Should my SolrJ app
: be pointing at a load balancer and if so will indexing via the
: ConcurrentUpdateSolrServer class still work?     

The "Concurrent" part of that class name refers to the fact that it 
streams docs to a server i na backround thread -- so using htat with a 
load balancer isn't going to work the way you might think.

If you'd like to better distribute the updates across your cluster, you 
should use CloudSolrClient/CloudSolrServer (depending on your SolrJ 
version) which will ensure that documents are routed directly to the 
appropriate leader for the *correct* shard of each document.




-Hoss
http://www.lucidworks.com/

Reply via email to