# Get index of item in results set

**URL:** <https://discuss.elastic.co/t/get-index-of-item-in-results-set/151660>\
**Category:** Elasticsearch\
**Created:** [October 9, 2018, 3:02pm UTC](https://discuss.elastic.co/t/get-index-of-item-in-results-set/151660 "2018-10-09T15:02:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 9, 2018, 5:59pm UTC](https://discuss.elastic.co/t/get-index-of-item-in-results-set/151660/4 "2018-10-09T17:59:26Z")

</div>

Could you provide a script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you want to do. Please, try to keep the example as simple as possible.

I'm not sure what you're indexing and how...

---

_[View the full topic](https://discuss.elastic.co/t/get-index-of-item-in-results-set/151660)._
