_all not working on highlight

Hi ,

I am not able to apply highlight on _all.

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

Thanks
Vineeth

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

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 06:07, Vineeth Mohan vineethmohan@algotree.com a écrit :

Hi ,

I am not able to apply highlight on _all.

Index mapping - gist:2069044 · GitHub
Input JSON and output received - output · GitHub

Thanks
Vineeth

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

On Sun, Mar 18, 2012 at 8:54 AM, David Pilato david@pilato.fr wrote:

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

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 06:07, Vineeth Mohan vineethmohan@algotree.com a
écrit :

Hi ,

I am not able to apply highlight on _all.

Index mapping - gist:2069044 · GitHub
Input JSON and output received - output · GitHub

Thanks
Vineeth

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

In some use case, it could make sense.

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 10:23, Lukáš Vlček 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

On Sun, Mar 18, 2012 at 8:54 AM, David Pilato david@pilato.fr wrote:
Yes. You can not highlight _all.
I don't remember why it's not possible.

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 06:07, Vineeth Mohan vineethmohan@algotree.com a écrit :

Hi ,

I am not able to apply highlight on _all.

Index mapping - gist:2069044 · GitHub
Input JSON and output received - output · GitHub

Thanks
Vineeth