Highlight multiple matches in one sentence results in multiple hightligts

I love the boundary_scanner: sentence in ES 5.5, however it seems a problem that if multiple matches are found in one sentence, it then returns the highlights multiple times, rather than in one sentence. let's say we have a document

            "overview": "One of the richest National Parks in **Australia**, about 74 species of mammals, 117 species of reptile, including the Salt Water Crocodile, and around a third of the bird species of **Australia** can be seen here. The environment is as pristine as it gets; Kakadu is considered as one of the most weed free national parks on the planet.\n\nNot just a mecca for flora and fauna, Kakadu is famous for it\u0027s cultural significance as well. Having been continuously occupied by Aboriginal people for at least 40.000 years, there are more than 5000 known rock art sites which document their life and spiritual culture over the millennia. The traditional owners enjoy sharing their lives and stories with visitors to this wondrous place.",

Australia is the matching term, the response is

          "highlight": {
            "overview": [
              "One of the richest National Parks in <em>Australia</em>, about 74 species of mammals, 117 species of reptile, including the Salt Water Crocodile, and around a third of the bird species of Australia can be seen here. ",
              "One of the richest National Parks in Australia, about 74 species of mammals, 117 species of reptile, including the Salt Water Crocodile, and around a third of the bird species of <em>Australia</em> can be seen here. The environment is as pristine as it gets; Kakadu is considered as one of the most weed free national parks on the planet.\n\n"
            ],
          }

The sentence is cut into two sections, ideally we only want one section containing the two matches, is there an way to do so?

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