Hi Joseph, I think that if your clients talk to the VIP and not directly to Solr via http://search-lucene.com/jd/solr/solr-solrj/org/apache/solr/client/solrj/impl/CloudSolrServer.html you lose the ability to hit leaders directly (CloudSolrServer knows about them), which translates to a bit more work for Solr.
You should be able to specify just the # of replicas and shards and not worry about how sharding will be done. See https://issues.apache.org/jira/browse/SOLR-3894 https://issues.apache.org/jira/browse/SOLR-2592 http://search-lucene.com/?q=index+query+routing+shards&fc_project=Solr Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/index.html On Tue, Oct 30, 2012 at 12:07 PM, joseph_12345 <hellojoseph_12...@yahoo.com> wrote: > Hi All, > > I have looked at the below post URL and it really helps me a lot. > > http://lucene.472066.n3.nabble.com/SolrCloud-AutoSharding-td4011834.html > > But I have few questions. > > We are exploring SolrCloud to index millions of product details. We are > planning to use a complete pool for SollCloud with a set of 15 physical > machines. The clients will be hitting the VIP URL of SolrCloud pool instead > of individual machine names or IP addresses. So my questions are, > > 1. While indexing the product details, do I need to take care of custom > sharding strategy or I just need to specify the number of Shards as 15(total > number of boxes in pool) and the SolrCloud takes care of sharding > internally? > > 2. If SolrCloud takes care of sharding since this shards are in 15 different > boxes, does SolrCloud internally do full scan to all these boxes if client > is querying by specifying the VIP url (Not the individual machine names)? Or > does SolrCloud do some extra intelligent logic to avoid full scan? > > 3. I couldn't find proper documentation about what SolrCloud does internally > in terms of Sharding and what developer has to do to optimize queries? > > Any response on this is greatly appreciated. > > Thanks > Joseph > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SolrCloud-AutoSharding-In-enterprise-environment-tp4017036.html > Sent from the Solr - User mailing list archive at Nabble.com.