# Problem with Highlighting and \_all

**URL:** <https://discuss.elastic.co/t/problem-with-highlighting-and--all/4408>\
**Category:** Elasticsearch\
**Created:** [May 16, 2011, 4:45am UTC](https://discuss.elastic.co/t/problem-with-highlighting-and--all/4408 "2011-05-16T04:45:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mofle](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@mofle](https://discuss.elastic.co/u/mofle)\
**Post date:** [May 16, 2011, 4:45am UTC](https://discuss.elastic.co/t/problem-with-highlighting-and--all/4408/1 "2011-05-16T04:45:40Z")

</div>

In ES 0.16.1, I'm trying to use the Highlighting with all fields  
(\_all), like in the docs, but I'm not getting back the "highlight"  
object.

Am I doing something wrong or is this a bug?

Code: [http://pastebin.com/8kbDUU4j](http://pastebin.com/8kbDUU4j)

---

<div class="post-metadata">

**Author:** ![dpilato](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dpilato/32/2449_2.png) [@dpilato](https://discuss.elastic.co/u/dpilato)\
**Post date:** [May 16, 2011, 5:08am UTC](https://discuss.elastic.co/t/problem-with-highlighting-and--all/4408/2 "2011-05-16T05:08:54Z")

</div>

Hi,

You should look at [https://github.com/elasticsearch/elasticsearch/issues/861](https://github.com/elasticsearch/elasticsearch/issues/861)

Cheers.  
David

---

<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, 4:06am UTC](https://discuss.elastic.co/t/problem-with-highlighting-and--all/4408/3 "2017-07-06T04:06:10Z")

</div>


