# Cross inner-hits sort and pagination

**URL:** <https://discuss.elastic.co/t/cross-inner-hits-sort-and-pagination/192343>\
**Category:** Elasticsearch\
**Created:** [July 26, 2019, 2:54am UTC](https://discuss.elastic.co/t/cross-inner-hits-sort-and-pagination/192343 "2019-07-26T02:54:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wan\_Hui](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wan_hui/32/48707_2.png) [@Wan\_Hui](https://discuss.elastic.co/u/Wan_Hui)\
**Post date:** [July 26, 2019, 2:54am UTC](https://discuss.elastic.co/t/cross-inner-hits-sort-and-pagination/192343/1 "2019-07-26T02:54:52Z")

</div>

From the document, sort and pagination can be done per inner-hits. Is there any way I can sort and paginate across all inner-hits?

---

<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:** [August 23, 2019, 2:54am UTC](https://discuss.elastic.co/t/cross-inner-hits-sort-and-pagination/192343/2 "2019-08-23T02:54:58Z")

</div>

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