# \_all not working on highlight

**URL:** <https://discuss.elastic.co/t/-all-not-working-on-highlight/7041>\
**Category:** Elasticsearch\
**Created:** [March 18, 2012, 5:07am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041 "2012-03-18T05:07:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [March 18, 2012, 5:07am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041/1 "2012-03-18T05:07:48Z")

</div>

Hi ,

I am not able to apply highlight on \_all.

Index mapping - [https://gist.github.com/2069044](https://gist.github.com/2069044)  
Input JSON and output received - [https://gist.github.com/2069060](https://gist.github.com/2069060)

Thanks  
Vineeth

---

<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:** [March 18, 2012, 7:54am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041/2 "2012-03-18T07:54:52Z")

</div>

Yes. You can not highlight \_all.  
I don't remember why it's not possible.

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 06:07, Vineeth Mohan [vineethmohan@algotree.com](mailto:vineethmohan@algotree.com) a écrit :

> Hi ,
> 
> I am not able to apply highlight on \_all.
> 
> Index mapping - [gist:2069044 · GitHub](https://gist.github.com/2069044)  
> Input JSON and output received - [output · GitHub](https://gist.github.com/2069060)
> 
> Thanks  
> Vineeth

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [March 18, 2012, 9:23am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041/3 "2012-03-18T09:23:49Z")

</div>

To find out more about why highlighting does not work on \_all by default  
and how to make it possible and if it is good practice at all please  
check the bottom of this page

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Sun, Mar 18, 2012 at 8:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Yes. You can not highlight \_all.  
> I don't remember why it's not possible.
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 18 mars 2012 à 06:07, Vineeth Mohan [vineethmohan@algotree.com](mailto:vineethmohan@algotree.com) a  
> écrit :
> 
> Hi ,
> 
> I am not able to apply highlight on \_all.
> 
> Index mapping - [gist:2069044 · GitHub](https://gist.github.com/2069044)  
> Input JSON and output received - [output · GitHub](https://gist.github.com/2069060)
> 
> Thanks  
> Vineeth

---

<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:** [March 18, 2012, 9:34am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041/4 "2012-03-18T09:34:02Z")

</div>

Thanks Lukas. Very interesting.  
I didn't remember it.

In some use case, it could make sense.

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 10:23, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) a écrit :

> To find out more about why highlighting does not work on \_all by default and how to make it possible and if it is good practice at all please check the bottom of this page [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/all-field.html)
> 
> On Sun, Mar 18, 2012 at 8:54 AM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> Yes. You can not highlight \_all.  
> I don't remember why it's not possible.
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr
> 
> Le 18 mars 2012 à 06:07, Vineeth Mohan [vineethmohan@algotree.com](mailto:vineethmohan@algotree.com) a écrit :
> 
> > Hi ,
> > 
> > I am not able to apply highlight on \_all.
> > 
> > Index mapping - [gist:2069044 · GitHub](https://gist.github.com/2069044)  
> > Input JSON and output received - [output · GitHub](https://gist.github.com/2069060)
> > 
> > Thanks  
> > Vineeth

---

<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:35am UTC](https://discuss.elastic.co/t/-all-not-working-on-highlight/7041/5 "2017-07-06T03:35:42Z")

</div>


