title: Elasticsearch - Document count fluctuates on update documents
body: <p>I am using mongo river to push data from mongo to elasticsearch. When I do indexing, initially all documents are indexed from mongo.
  So when I run </p>
  
  <pre><code>  curl -XGET "localhost:9200/_cat/indices?pretty"
  </code></pre>
  
  <p>I get exactly say 20000 docs.</p>
  
  <p>Changes are always being pushed into elasticsearch from mongo using mongo-river.(internally it is using bulk update api)</p>
  
  <p>But after 10-15 mins, there is always difference in around 5 to 10 documents.</p>
  
  <p>Documents count in elasticsearch never will become exact 20000.
  It keeps on fluctuating. </p>
  
  <p>Can anyone help me, what is the problem here</p>