# Is searchAfter functional in elasticsearch yet?

**URL:** <https://discuss.elastic.co/t/is-searchafter-functional-in-elasticsearch-yet/7227>\
**Category:** Elasticsearch\
**Created:** [April 4, 2012, 3:59pm UTC](https://discuss.elastic.co/t/is-searchafter-functional-in-elasticsearch-yet/7227 "2012-04-04T15:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rik\_o\_the\_Nord](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@Rik\_o\_the\_Nord](https://discuss.elastic.co/u/Rik_o_the_Nord)\
**Post date:** [April 4, 2012, 3:59pm UTC](https://discuss.elastic.co/t/is-searchafter-functional-in-elasticsearch-yet/7227/1 "2012-04-04T15:59:27Z")

</div>

I need to do very deep paging. I typically have around 100k and greater  
result lists and users really need to traverse very deeply in them. Is  
searchAfter the best answer? Is searchAfter functional in elasticsearch  
yet? I'm not using elasticsearch as of now but very seriously considering  
it. thanks in advance.. rik

---

<div class="post-metadata">

**Author:** ![Eric\_Jain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_jain/32/834_2.png) [@Eric\_Jain](https://discuss.elastic.co/u/Eric_Jain)\
**Post date:** [April 4, 2012, 4:29pm UTC](https://discuss.elastic.co/t/is-searchafter-functional-in-elasticsearch-yet/7227/2 "2012-04-04T16:29:42Z")

</div>

On Apr 4, 8:59 am, Rik-o-the-Nord [rkr...@krollontrack.com](mailto:rkr...@krollontrack.com) wrote:

> I need to do very deep paging. I typically have around 100k and greater  
> result lists and users really need to traverse very deeply in them. Is  
> searchAfter the best answer? Is searchAfter functional in elasticsearch  
> yet? I'm not using elasticsearch as of now but very seriously considering  
> it. thanks in advance.. rik

You can set an offset and a limit [1], or use the scroll API [2].

[1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/search/from-size.html)  
[2] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/search/scroll.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:33am UTC](https://discuss.elastic.co/t/is-searchafter-functional-in-elasticsearch-yet/7227/3 "2017-07-06T03:33:38Z")

</div>


