# Any search\_after performance updated?

**URL:** <https://discuss.elastic.co/t/any-search-after-performance-updated/302809>\
**Category:** Elasticsearch\
**Created:** [April 20, 2022, 12:17pm UTC](https://discuss.elastic.co/t/any-search-after-performance-updated/302809 "2022-04-20T12:17:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ht.jo](https://avatars.discourse-cdn.com/v4/letter/h/b9bd4f/32.png) [@ht.jo](https://discuss.elastic.co/u/ht.jo)\
**Post date:** [April 20, 2022, 12:17pm UTC](https://discuss.elastic.co/t/any-search-after-performance-updated/302809/1 "2022-04-20T12:17:49Z")

</div>

Hi. I'm using 7.10 and I'm going through exact same situation below link.

> [@Search\_after queries are not performing as expected](https://discuss.elastic.co/t/search-after-queries-are-not-performing-as-expected/289174):
>
> Hi all! I'm working on building a searcher for a site. This site generates a lot of writes (new or modified documents) so we need to use some mechanism to ensure pagination consistency by using certain criteria (freshness or price in our cases). We began to use the search\_after parameter for solving our issues. This works fine until we realized that our query slow log started to have a lot of entries. At some moments this lead us to high CPU usage and high search latency, which degraded our se…

As the @mayya 's answer (Thx mayya!), I expected search\_after performance has improved at 7.16, so I looked over [7.16 release note](https://www.elastic.co/guide/en/enterprise-search/current/release-notes-7.16.0.html), but I can't find this update news.

I'm wondering which version I can use of performance improved search\_after.

Thank you.

---

<div class="post-metadata">

**Author:** ![mayya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayya/32/83147_2.png) [@mayya](https://discuss.elastic.co/u/mayya)\
**Post date:** [April 20, 2022, 6:07pm UTC](https://discuss.elastic.co/t/any-search-after-performance-updated/302809/2 "2022-04-20T18:07:40Z")

</div>

You are looking at the wrong release notes, these are for our Enterprise Search product.

Elasticsearch 7.16 release notes are [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.16/release-notes-7.16.0.html), and the item related to the sort optimization with after is this one:

"Add sort optimization with after from Lucene #64292"

---

<div class="post-metadata">

**Author:** ![ht.jo](https://avatars.discourse-cdn.com/v4/letter/h/b9bd4f/32.png) [@ht.jo](https://discuss.elastic.co/u/ht.jo)\
**Post date:** [April 21, 2022, 3:21am UTC](https://discuss.elastic.co/t/any-search-after-performance-updated/302809/3 "2022-04-21T03:21:36Z")

</div>

Hooray. Thanks mayya. I'll look into the release note.

---

<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:** [May 19, 2022, 3:22am UTC](https://discuss.elastic.co/t/any-search-after-performance-updated/302809/4 "2022-05-19T03:22:32Z")

</div>

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