# Highlighting is not applying to all results

**URL:** <https://discuss.elastic.co/t/highlighting-is-not-applying-to-all-results/164350>\
**Category:** Elasticsearch\
**Created:** [January 15, 2019, 5:29pm UTC](https://discuss.elastic.co/t/highlighting-is-not-applying-to-all-results/164350 "2019-01-15T17:29:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anveshdd](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@anveshdd](https://discuss.elastic.co/u/anveshdd)\
**Post date:** [January 15, 2019, 5:29pm UTC](https://discuss.elastic.co/t/highlighting-is-not-applying-to-all-results/164350/1 "2019-01-15T17:29:03Z")

</div>

Working on elastic search 6.5.2. Applying the highlight functionality. When I check the results the highlight is applying to the first few records perfectly and after that highlight is not applying to **title** field. Any solution

**Query**

```auto
GET /_search
{ "size": 80, 
"query": {
  "bool": {
    "must": [{
      "query_string":{
      "query":"admissions", 
      "fields": ["title", "content"] } 
      } ]
    }},
      
"highlight":{ "pre_tags" : ["<strong>"],
        "post_tags" : ["</strong>"],
  "fields":{
		  "title":{"number_of_fragments" : 0},
		  "content":{"number_of_fragments" : 0}
      }
   }}

```

---

<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:** [February 12, 2019, 5:37pm UTC](https://discuss.elastic.co/t/highlighting-is-not-applying-to-all-results/164350/2 "2019-02-12T17:37:40Z")

</div>

Closed on February 12, 2019, 5:37pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
