# Unexpected behavior of pagination using offset and size

**URL:** <https://discuss.elastic.co/t/unexpected-behavior-of-pagination-using-offset-and-size/15167>\
**Category:** Elasticsearch\
**Created:** [January 9, 2014, 10:30am UTC](https://discuss.elastic.co/t/unexpected-behavior-of-pagination-using-offset-and-size/15167 "2014-01-09T10:30:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chetana](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@Chetana](https://discuss.elastic.co/u/Chetana)\
**Post date:** [January 9, 2014, 10:30am UTC](https://discuss.elastic.co/t/unexpected-behavior-of-pagination-using-offset-and-size/15167/1 "2014-01-09T10:30:21Z")

</div>

My application has the pagination requirement for search. I am using the  
offset and size option to achieve the pagination.  
Making quick clicks on pagination sometimes does not give results at all.  
Does the asynchronous search call bringing any side effects like this?

Thanks,

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/356ba278-d5f5-4e8d-87ae-7d6c2d7ab13c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/356ba278-d5f5-4e8d-87ae-7d6c2d7ab13c%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 14, 2014, 11:08am UTC](https://discuss.elastic.co/t/unexpected-behavior-of-pagination-using-offset-and-size/15167/2 "2014-01-14T11:08:09Z")

</div>

Hey,

this rather sounds like a problem inside of your application, which might  
not be able to cope with requests coming in asynchronous? Hard to tell  
without more information, of how you use elasticsearch - you should verify  
first if elasticsearch returns the correct results, before digging deeper  
into your application. If it does, it must be an application problem, if  
not we should check further here.

--Alex

On Thu, Jan 9, 2014 at 11:30 AM, Chetana [ambha.career@gmail.com](mailto:ambha.career@gmail.com) wrote:

> My application has the pagination requirement for search. I am using the  
> offset and size option to achieve the pagination.  
> Making quick clicks on pagination sometimes does not give results at all.  
> Does the asynchronous search call bringing any side effects like this?
> 
> Thanks,
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/356ba278-d5f5-4e8d-87ae-7d6c2d7ab13c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/356ba278-d5f5-4e8d-87ae-7d6c2d7ab13c%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-Fge9\_FSW6O\_ipw0ORQeV-bnXXDzMFrTr3%2BAxfDn6Vug%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM-Fge9_FSW6O_ipw0ORQeV-bnXXDzMFrTr3%2BAxfDn6Vug%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:56am UTC](https://discuss.elastic.co/t/unexpected-behavior-of-pagination-using-offset-and-size/15167/3 "2017-07-06T01:56:58Z")

</div>

Closed on July 6, 2017, 1:56am UTC


