There's no real magic about the index structure, it's just the same as non-cloud Solr. So presumably you have example and example2 directories or some such. They're just standard Solr installations with the index in the usual place, the docs for the particular shard are stored in the data/index directories under example and example2.
SolCloud is simply doing the usual querying for you, it sends the request to _all_ shards and assembles the response. The only time hashing on the <uniqueKey> comes into play is when SolrCloud is deciding what shard to send the document to during indexing AFAIK. Likewise, going to specific Admin pages for each node will show you stats for that particular node. If you really want to, you can probably just fire up the Solr node without any of the ZK parameters and it'll be out of the cloud. But an easier way is just to go into the admin>>cloud page and click on the nodes displayed. Then click on the core (probably "collection1") and you'll see statistics for that particular node. Best Erick On Wed, Oct 31, 2012 at 4:07 AM, joseph_12345 <hellojoseph_12...@yahoo.com> wrote: > Thanks Otis for the response. > > 1. Is there any performance impact if the client is invoking the solr index > using the VIP url instead of individual shard URLs? If the default sharding > of SOLR is based on uniqueId.hashcode % numServers, how does the SOLR > identify which Shard to get the data if client is querying by any name/value > of a document(Unique Id is not passed in the URL). Is ZooKeeper doing this > logic of finding out which shard to go and get the data? .Sorry to go ask > more into details but would like to know. > > 2. I have followed the steps of > http://wiki.apache.org/solr/SolrCloud#Getting_Started and set up multiple > shards in my local box and did index some documents. But I am still not > clear on the index and document file system structure, I mean how would I > verify if the data is really distributed. Can you please point me to some > good documentation of the folder structure of where the index files will be > created in each shard. When I indexed few documents by pointing to one > shard, I saw few files getting created under > apache-solr-4.0.0\example\solr\mycollection\data\index. Is this the complete > index files location ? > > Thanks > Jaino > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SolrCloud-AutoSharding-In-enterprise-environment-tp4017036p4017201.html > Sent from the Solr - User mailing list archive at Nabble.com.