title: Inconsistent doc count
body: <p>Hi I am running Elasticsearch 1.5.2</p>
  
  <p>I indexed 6,761,727 documents in one of my indexes.</p>
  
  <p>When I run the following query....</p>
  
  <pre><code>GET myindex/mytype/_search
  {
      "size": 0
  }
  </code></pre>
  
  <p>The hits.total count keeps alternating between 2 values...</p>
  
  <pre><code>"hits": {
      "total": 6761727,
      "max_score": 0,
      "hits": []
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>"hits": {
      "total": 6760368,
      "max_score": 0,
      "hits": []
  }
  </code></pre>
  
  <p>No matter how many times I run the query the count goes back and forth between the 2.</p>
  
  <p>I searched around a bit and found out that it seems that primary vs replica shards don't have exact same number of docs. If I use preference=primary then the doc count returned is correct.</p>
  
  <p>What is the easiest way to check which shard is the culprit and try to fix him without re-indexing everything?</p>