# INDEX or POSITION of an \_id within the result of a typical search query

**URL:** https://discuss.elastic.co/t/index-or-position-of-an-id-within-the-result-of-a-typical-search-query/202026
**Category:** Elasticsearch
**Created:** [October 2, 2019, 6:10pm UTC](https://discuss.elastic.co/t/index-or-position-of-an-id-within-the-result-of-a-typical-search-query/202026 "2019-10-02T18:10:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hive](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hive/32/46651_2.png) [@hive](https://discuss.elastic.co/u/hive)
#### Post date: [October 2, 2019, 6:10pm UTC](https://discuss.elastic.co/t/index-or-position-of-an-id-within-the-result-of-a-typical-search-query/202026/1 "2019-10-02T18:10:33Z")

</div>

Is there anyway I can find the INDEX or POSITION of an \_id within the result of a typical search query?

Requirement is to load the search page in its sorted order and by default load the range that matches a specific \_id.

Thank you

---

<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: [October 30, 2019, 6:21pm UTC](https://discuss.elastic.co/t/index-or-position-of-an-id-within-the-result-of-a-typical-search-query/202026/2 "2019-10-30T18:21:36Z")

</div>

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