# Highlighting a field with contents of another field in a single result

**URL:** https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846
**Category:** Elasticsearch
**Created:** [December 12, 2013, 11:47pm UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846 "2013-12-12T23:47:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)
#### Post date: [December 12, 2013, 11:47pm UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/1 "2013-12-12T23:47:58Z")

</div>

Hi,  
Is it possible to highlight a field with the tokens/terms/words contained  
in another field in the same match?

I want to search on FieldA: [\* TO \*]

and highlight in field text: with tokens from FieldA for each document.

thanks for any tips.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [December 12, 2013, 11:57pm UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/2 "2013-12-12T23:57:16Z")

</div>

Do you mean you want to highlight a field you aren't matching? If so you can require\_field\_match or highlight\_query. The former is simpler but gives you less control.

Sent from my iPhone

> On Dec 12, 2013, at 6:47 PM, project2501 [darreng5150@gmail.com](mailto:darreng5150@gmail.com) wrote:
> 
> Hi,  
> Is it possible to highlight a field with the tokens/terms/words contained in another field in the same match?
> 
> I want to search on FieldA: [\* TO \*]
> 
> and highlight in field text: with tokens from FieldA for each document.
> 
> ## thanks for any tips.
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/37D03FED-AB7E-4372-B5B9-3978F467A110%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/37D03FED-AB7E-4372-B5B9-3978F467A110%40gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)
#### Post date: [December 13, 2013, 12:29am UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/3 "2013-12-13T00:29:54Z")

</div>

Yes. Highlight a field I'm not matching but using the contents of a matched  
field as the terms. I tried highlight\_query but it didn't seem to do this.  
Still trying, but needing some tips.

On Thursday, December 12, 2013 6:57:16 PM UTC-5, Nikolas Everett wrote:

> Do you mean you want to highlight a field you aren't matching? If so you  
> can require\_field\_match or highlight\_query. The former is simpler but  
> gives you less control.
> 
> Sent from my iPhone
> 
> On Dec 12, 2013, at 6:47 PM, project2501 \<[darre...@gmail.com](mailto:darre...@gmail.com) \<javascript:\>\>  
> wrote:
> 
> Hi,  
> Is it possible to highlight a field with the tokens/terms/words  
> contained in another field in the same match?
> 
> I want to search on FieldA: [\* TO \*]
> 
> and highlight in field text: with tokens from FieldA for each document.
> 
> thanks for any tips.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [December 13, 2013, 12:36am UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/4 "2013-12-13T00:36:31Z")

</div>

Have a look at

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Thu, Dec 12, 2013 at 7:29 PM, project2501 [darreng5150@gmail.com](mailto:darreng5150@gmail.com) wrote:

> Yes. Highlight a field I'm not matching but using the contents of a  
> matched field as the terms. I tried highlight\_query but it didn't seem to  
> do this. Still trying, but needing some tips.
> 
> On Thursday, December 12, 2013 6:57:16 PM UTC-5, Nikolas Everett wrote:
> 
> > Do you mean you want to highlight a field you aren't matching? If so you  
> > can require\_field\_match or highlight\_query. The former is simpler but  
> > gives you less control.
> > 
> > Sent from my iPhone
> > 
> > On Dec 12, 2013, at 6:47 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > 
> > Hi,  
> > Is it possible to highlight a field with the tokens/terms/words  
> > contained in another field in the same match?
> > 
> > I want to search on FieldA: [\* TO \*]
> > 
> > and highlight in field text: with tokens from FieldA for each document.
> > 
> > thanks for any tips.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > 
> > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%  
> > [40googlegroups.com](http://40googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com)  
> > .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0Bzy4%3DKP%2B9M40%3DmFGfJSQAHqTZ\_%2BOBYkLrQCD6b6exYA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0Bzy4%3DKP%2B9M40%3DmFGfJSQAHqTZ_%2BOBYkLrQCD6b6exYA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)
#### Post date: [December 13, 2013, 1:26am UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/5 "2013-12-13T01:26:15Z")

</div>

I got it to work. Had to change a field mapping to support it. Thanks  
fellas.

On Thursday, December 12, 2013 7:36:31 PM UTC-5, Nikolas Everett wrote:

> Have a look at  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html#field-match)
> 
> On Thu, Dec 12, 2013 at 7:29 PM, project2501 \<[darre...@gmail.com](mailto:darre...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Yes. Highlight a field I'm not matching but using the contents of a  
> > matched field as the terms. I tried highlight\_query but it didn't seem to  
> > do this. Still trying, but needing some tips.
> > 
> > On Thursday, December 12, 2013 6:57:16 PM UTC-5, Nikolas Everett wrote:
> > 
> > > Do you mean you want to highlight a field you aren't matching? If so  
> > > you can require\_field\_match or highlight\_query. The former is simpler but  
> > > gives you less control.
> > > 
> > > Sent from my iPhone
> > > 
> > > On Dec 12, 2013, at 6:47 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > > 
> > > Hi,  
> > > Is it possible to highlight a field with the tokens/terms/words  
> > > contained in another field in the same match?
> > > 
> > > I want to search on FieldA: [\* TO \*]
> > > 
> > > and highlight in field text: with tokens from FieldA for each document.
> > > 
> > > thanks for any tips.
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > 
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%  
> > > [40googlegroups.com](http://40googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com)  
> > > .
> > 
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/eb04c1bf-ef19-43ec-a41a-d33edabbfc32%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eb04c1bf-ef19-43ec-a41a-d33edabbfc32%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@project2501](https://discuss.elastic.co/u/project2501)
#### Post date: [December 13, 2013, 2:36am UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/6 "2013-12-13T02:36:03Z")

</div>

Spoke too soon. I guess this doesn't work with fields that were expressed  
in a filter..... ??

On Thursday, December 12, 2013 8:26:15 PM UTC-5, project2501 wrote:

> I got it to work. Had to change a field mapping to support it. Thanks  
> fellas.
> 
> On Thursday, December 12, 2013 7:36:31 PM UTC-5, Nikolas Everett wrote:
> 
> > Have a look at  
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-highlighting.html#field-match)
> > 
> > On Thu, Dec 12, 2013 at 7:29 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > 
> > > Yes. Highlight a field I'm not matching but using the contents of a  
> > > matched field as the terms. I tried highlight\_query but it didn't seem to  
> > > do this. Still trying, but needing some tips.
> > > 
> > > On Thursday, December 12, 2013 6:57:16 PM UTC-5, Nikolas Everett wrote:
> > > 
> > > > Do you mean you want to highlight a field you aren't matching? If so  
> > > > you can require\_field\_match or highlight\_query. The former is simpler but  
> > > > gives you less control.
> > > > 
> > > > Sent from my iPhone
> > > > 
> > > > On Dec 12, 2013, at 6:47 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > > > 
> > > > Hi,  
> > > > Is it possible to highlight a field with the tokens/terms/words  
> > > > contained in another field in the same match?
> > > > 
> > > > I want to search on FieldA: [\* TO \*]
> > > > 
> > > > and highlight in field text: with tokens from FieldA for each document.
> > > > 
> > > > thanks for any tips.
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > 
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%  
> > > > [40googlegroups.com](http://40googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > To view this discussion on the web visit  
> > > > [https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%40googlegroups.com)  
> > > > .
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/26bd46c1-ba8f-453d-a6c8-91f7906690aa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/26bd46c1-ba8f-453d-a6c8-91f7906690aa%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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: [December 13, 2013, 3:06pm UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/7 "2013-12-13T15:06:49Z")

</div>

Looks like it, yes. You can use the highlight\_query to rewrite the filter  
as a clause in a bool query, I suppose.

On Thu, Dec 12, 2013 at 9:36 PM, project2501 [darreng5150@gmail.com](mailto:darreng5150@gmail.com) wrote:

> Spoke too soon. I guess this doesn't work with fields that were expressed  
> in a filter..... ??
> 
> On Thursday, December 12, 2013 8:26:15 PM UTC-5, project2501 wrote:
> 
> > I got it to work. Had to change a field mapping to support it. Thanks  
> > fellas.
> > 
> > On Thursday, December 12, 2013 7:36:31 PM UTC-5, Nikolas Everett wrote:
> > 
> > > Have a look at [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > > reference/current/search-request-highlighting.html#field-match
> > > 
> > > On Thu, Dec 12, 2013 at 7:29 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > > 
> > > > Yes. Highlight a field I'm not matching but using the contents of a  
> > > > matched field as the terms. I tried highlight\_query but it didn't seem to  
> > > > do this. Still trying, but needing some tips.
> > > > 
> > > > On Thursday, December 12, 2013 6:57:16 PM UTC-5, Nikolas Everett wrote:
> > > > 
> > > > > Do you mean you want to highlight a field you aren't matching? If so  
> > > > > you can require\_field\_match or highlight\_query. The former is simpler but  
> > > > > gives you less control.
> > > > > 
> > > > > Sent from my iPhone
> > > > > 
> > > > > On Dec 12, 2013, at 6:47 PM, project2501 [darre...@gmail.com](mailto:darre...@gmail.com) wrote:
> > > > > 
> > > > > Hi,  
> > > > > Is it possible to highlight a field with the tokens/terms/words  
> > > > > contained in another field in the same match?
> > > > > 
> > > > > I want to search on FieldA: [\* TO \*]
> > > > > 
> > > > > and highlight in field text: with tokens from FieldA for each document.
> > > > > 
> > > > > thanks for any tips.
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > 
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/9797931a-05dd-43d1-8a44-67db959c6035%40goo  
> > > > > [glegroups.com](http://glegroups.com).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google  
> > > > > Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > msgid/elasticsearch/5d3c13fb-0490-489a-a81b-fe3ae25867ea%  
> > > > > [40googlegroups.com](http://40googlegroups.com).
> > > > 
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/26bd46c1-ba8f-453d-a6c8-91f7906690aa%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/26bd46c1-ba8f-453d-a6c8-91f7906690aa%40googlegroups.com)  
> > > .
> 
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0XhpKWOEnhvZvVm5%2BeK8SKQgaOtMSV8HUNq8TW8FCdFA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0XhpKWOEnhvZvVm5%2BeK8SKQgaOtMSV8HUNq8TW8FCdFA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:01am UTC](https://discuss.elastic.co/t/highlighting-a-field-with-contents-of-another-field-in-a-single-result/14846/8 "2017-07-06T02:01:22Z")

</div>


