# Parent-child query performance on ES 5.x

**URL:** <https://discuss.elastic.co/t/parent-child-query-performance-on-es-5-x/73820>\
**Category:** Elasticsearch\
**Created:** [February 3, 2017, 9:55am UTC](https://discuss.elastic.co/t/parent-child-query-performance-on-es-5-x/73820 "2017-02-03T09:55:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [February 3, 2017, 9:55am UTC](https://discuss.elastic.co/t/parent-child-query-performance-on-es-5-x/73820/1 "2017-02-03T09:55:25Z")

</div>

Per [https://www.elastic.co/guide/en/elasticsearch/guide/current/parent-child-performance.html#\_global\_ordinals\_and\_latency](https://www.elastic.co/guide/en/elasticsearch/guide/current/parent-child-performance.html#_global_ordinals_and_latency)

Parent-child query is 5 - 10 times slower than nested query.

Since this guide is for ES 2.x, I am wondering if ES 5.x has improvement on parent-child query?

---

<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 3, 2017, 9:55am UTC](https://discuss.elastic.co/t/parent-child-query-performance-on-es-5-x/73820/2 "2017-03-03T09:55:25Z")

</div>

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