title: How to retrieve all document with version n in elastic search
body: <p><code>ElasticSearch</code> comes with versioning <a href="https://www.elastic.co/blog/versioning" rel="nofollow">https://www.elastic.co/blog/versioning</a></p>
  
  <p>Maybe I misunderstood the meaning of the versioning here.</p>
  
  <p>I want to find all the documents that are in version 1 so I can update them.</p>
  
  <p>An obvious way is to go through all the document one by one and select those that are in version 1. </p>
  
  <p><strong>Question:</strong></p>
  
  <p>Is it possible to retrieve all the Documents that are in version 1 with <code>ONE</code> query?</p>