Elasticsearch Scroll : <p>I am little bit confused over Elasticsearch by its scroll functionality.
In elasticsearch is it possible to call search API everytime whenever the user scrolls on the result set?
From documentation </p>

<pre><code>"search_type" =&gt; "scan",    // use search_type=scan
"scroll" =&gt; "30s",          // how long between scroll requests. should be small!
"size" =&gt; 50,               // how many results *per shard* you want back
</code></pre>

<p>Is that mean it will perform search for every 30 seconds and returns all the sets of results until there is no records?</p>

<p>For example my ES returns total 500 records. I am getting an data from ES as two sets of records each with 250 records. Is there any way I can display first set of 250 records first, when user scrolls then second set of 250 records.Please suggest </p>
