# Scroll vs search after

**URL:** <https://discuss.elastic.co/t/scroll-vs-search-after/325396>\
**Category:** Elasticsearch\
**Created:** [February 13, 2023, 2:40pm UTC](https://discuss.elastic.co/t/scroll-vs-search-after/325396 "2023-02-13T14:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabu\_P](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabu_p/32/117185_2.png) [@Prabu\_P](https://discuss.elastic.co/u/Prabu_P)\
**Post date:** [February 13, 2023, 2:40pm UTC](https://discuss.elastic.co/t/scroll-vs-search-after/325396/1 "2023-02-13T14:40:27Z")

</div>

> [@Recommendation to use search after instead of scrolling](https://discuss.elastic.co/t/recommendation-to-use-search-after-instead-of-scrolling/268293/5):
>
> sorry - fixed. i have testet it with different sizes. our test with different sizes: (first param = document count, second param = size) code: @ParameterizedTest @CsvSource({ "17, 3", "10, 2", "0, 1", "1, 1", "13, 2", "10, 3" "100001, 50", "100001, 100", "100001, 500", "100001, 1000", "100001, 5000", "100001, 20000", }) void newTes…

in this thread it discussed about the performance issue of search after , is this issue still present in newer versions of ES ?

---

<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:** [March 13, 2023, 2:40pm UTC](https://discuss.elastic.co/t/scroll-vs-search-after/325396/2 "2023-03-13T14:40:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
