# Highlight

**URL:** <https://discuss.elastic.co/t/highlight/47755>\
**Category:** Elasticsearch\
**Created:** [April 19, 2016, 7:27am UTC](https://discuss.elastic.co/t/highlight/47755 "2016-04-19T07:27:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fallenstorm](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fallenstorm](https://discuss.elastic.co/u/fallenstorm)\
**Post date:** [April 19, 2016, 7:27am UTC](https://discuss.elastic.co/t/highlight/47755/1 "2016-04-19T07:27:00Z")

</div>

Hello, i want to recieve highlited text as list of highlighted words, not whole text or fragments.  
For example, by the default i receive field\_name: ['some text ..._word1_ ... some text ..._word2_ some text...']. I want to receive: field\_name: ['word1', 'word2']

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [April 19, 2016, 11:30am UTC](https://discuss.elastic.co/t/highlight/47755/2 "2016-04-19T11:30:52Z")

</div>

That isn't possible now. You can use named queries if you want to know  
which query you sent matched. If you want to know which word matched you  
can do one word per named query.

---

<div class="post-metadata">

**Author:** ![fallenstorm](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fallenstorm](https://discuss.elastic.co/u/fallenstorm)\
**Post date:** [April 19, 2016, 11:59am UTC](https://discuss.elastic.co/t/highlight/47755/3 "2016-04-19T11:59:13Z")

</div>

I use percolator. I unite queries by type, so i have about 100 queries, each of them consists about 1000 conditions.  
As you suggest, i should create 100000 queries instead 100. Will it work slower or not?

---

<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 5, 2017, 10:58pm UTC](https://discuss.elastic.co/t/highlight/47755/4 "2017-07-05T22:58:03Z")

</div>


