title: Elasticsearch Scan&scroll with JEST API
body: <p>I am currently working with JEST:
  <a href="https://github.com/searchbox-io/Jest">https://github.com/searchbox-io/Jest</a></p>
  
  <p>Is it possible to do scan&amp;scroll with this API?</p>
  
  <p><a href="http://www.elasticsearch.org/guide/reference/api/search/search-type/">http://www.elasticsearch.org/guide/reference/api/search/search-type/</a></p>
  
  <p>I am currently using the Search command:</p>
  
  <pre><code>Search search = new Search("{\"size\" : "+RESULT_SIZE+", \"query\":{\"match_all\":{}}}");
  </code></pre>
  
  <p>but am worried about large result sets. If you use the Search command for this how do you set the "search_type=scan&amp;scroll=10m&amp;size=50" arguments?</p>