# Hightlight on all fields

**URL:** <https://discuss.elastic.co/t/hightlight-on-all-fields/6341>\
**Category:** Elasticsearch\
**Created:** [January 10, 2012, 9:08pm UTC](https://discuss.elastic.co/t/hightlight-on-all-fields/6341 "2012-01-10T21:08:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chimingc](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chimingc](https://discuss.elastic.co/u/chimingc)\
**Post date:** [January 10, 2012, 9:08pm UTC](https://discuss.elastic.co/t/hightlight-on-all-fields/6341/1 "2012-01-10T21:08:33Z")

</div>

Hi,

I'm new to elastic search and am wondering if there is a way to highlight on all fields.

Looks like highlighting requires me to explicitly specify the field names.  
My understanding is that if I want to highlight on all fields, I will have to use \_all but that requires me to store the \_all field that will increase index size and requires some mapping for \_all.

Is there any way to highlight on all fields without having to store extra data or mapping?

Any sample query will be appreciated.  
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 6, 2017, 3:43am UTC](https://discuss.elastic.co/t/hightlight-on-all-fields/6341/2 "2017-07-06T03:43:11Z")

</div>


