title: Solr returns incorrect facet counts even after removing duplicates
body: <p>I am using solr 4.10 setup on a <strong>3 node cluster(solrcloud)</strong> with zookeeper and <strong>RF = 1.</strong> Total 3 shards. </p>
  
  <p>The problem here is 2 phase. 
  1. I added <strong>50 million</strong> records into the index which has a uuid field(<strong>user_id</strong>) as a unique key. The uuid field was generated by the application and not solr. The records were indexed in batches of 5k and committed. After indexing i saw there were a lot of duplicates in the index. Even though uuid was specified as a unique key. <strong>Somehow 2 different shards had the same document.</strong> </p>
  
  <p>When i tried to return the counts for a particular query, the shards returned the counts including duplicates. It returned <strong>numFound=60,686</strong> .
  But when i tried to retrieve all the 60,686 records <strong>it returned only 52,760</strong> which was the actual records expected. </p>
  
  <ol start="2">
  <li>It looked like there were 7926 duplicates, <strong>but there were only 74 duplicates</strong> when i checked </li>
  </ol>
  
  <p>select?q=tag%3A123&amp;rows=0&amp;wt=json&amp;indent=true&amp;facet=true&amp;facet.field=user_id&amp;facet.mincount=2</p>
  
  <p>i manually deleted the duplicates and the count went down to 60538 which is still wrong.
  I see each shard is contributing to this false count when i turned on debugQuery.  </p>
  
  <p>Is there a facet cache or something that needs to be cleared ? what are these remaining extra counts ? My application is count dependent so this is a big issue i'm facing. </p>
  
  <p>Thanks in advance. </p>