# Highlight Nested Query ES5.2

**URL:** <https://discuss.elastic.co/t/highlight-nested-query-es5-2/77055>\
**Category:** Elasticsearch\
**Created:** [March 1, 2017, 9:30pm UTC](https://discuss.elastic.co/t/highlight-nested-query-es5-2/77055 "2017-03-01T21:30:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zillion582](https://avatars.discourse-cdn.com/v4/letter/z/51bf81/32.png) [@zillion582](https://discuss.elastic.co/u/zillion582)\
**Post date:** [March 1, 2017, 9:30pm UTC](https://discuss.elastic.co/t/highlight-nested-query-es5-2/77055/1 "2017-03-01T21:30:53Z")

</div>

In ES 5.2 for querying and highlighting a nested field, what is the alternative to adding InnerHits to a Search Request Builder? And how do you handle the highlighting in this case?

---

<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 29, 2017, 9:30pm UTC](https://discuss.elastic.co/t/highlight-nested-query-es5-2/77055/2 "2017-03-29T21:30:53Z")

</div>

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