# Highlight with nested type

**URL:** <https://discuss.elastic.co/t/highlight-with-nested-type/27021>\
**Category:** Elasticsearch\
**Created:** [August 7, 2015, 3:01am UTC](https://discuss.elastic.co/t/highlight-with-nested-type/27021 "2015-08-07T03:01:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fei\_Yao](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Fei\_Yao](https://discuss.elastic.co/u/Fei_Yao)\
**Post date:** [August 7, 2015, 3:01am UTC](https://discuss.elastic.co/t/highlight-with-nested-type/27021/1 "2015-08-07T03:01:43Z")

</div>

I have a nested type, and highlight seems to be working as normal. But as soon as I put on "term\_vector": "with\_positions\_offsets" for a field highlight stops working.

Any thoughts?  
Thanks

---

<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:** [July 5, 2017, 11:56pm UTC](https://discuss.elastic.co/t/highlight-with-nested-type/27021/2 "2017-07-05T23:56:59Z")

</div>


