>From my understanding. In SOLR cloud the CompositeIdDocRouter uses HashbasedDocRouter. CompositeId router is default if your numShards>1 on collection creation. CompositeId router generates an hash using the uniqueKey defined in your schema.xml to route your documents to a dedicated shard.
You can use select?q=xyz&shard.keys=uniquekey to focus your search to hit only the shard that has your shard.key Thanks, Rishi. -----Original Message----- From: Joshi, Shital <shital.jo...@gs.com> To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org> Sent: Wed, Jun 12, 2013 10:01 am Subject: shardkey Hi, We are using Solr 4.3.0 SolrCloud (5 shards, 10 replicas). I have couple questions on shard key. 1. Looking at the admin GUI, how do I know which field is being used for shard key. 2. What is the default shard key used? 3. How do I override the default shard key? Thanks.