# Highlighted field store in \_source

**URL:** <https://discuss.elastic.co/t/highlighted-field-store-in--source/23645>\
**Category:** Elasticsearch\
**Created:** [May 19, 2015, 10:17am UTC](https://discuss.elastic.co/t/highlighted-field-store-in--source/23645 "2015-05-19T10:17:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tao\_hiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tao_hiko/32/707_2.png) [@tao\_hiko](https://discuss.elastic.co/u/tao_hiko)\
**Post date:** [May 19, 2015, 10:17am UTC](https://discuss.elastic.co/t/highlighted-field-store-in--source/23645/1 "2015-05-19T10:17:11Z")

</div>

If I use highlight to query from ES that the result will generate new  
section is "highlight".

How to store the result from highlight to "\_source" section as another  
fields? Is it possible?

Thanks,  
Hiko

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/cca2f269-c9ab-48a5-94c9-2be6740043db%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cca2f269-c9ab-48a5-94c9-2be6740043db%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![tao\_hiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tao_hiko/32/707_2.png) [@tao\_hiko](https://discuss.elastic.co/u/tao_hiko)\
**Post date:** [May 19, 2015, 10:53am UTC](https://discuss.elastic.co/t/highlighted-field-store-in--source/23645/2 "2015-05-19T10:53:46Z")

</div>

Finally, I use javascript to merge boths.

On Tuesday, May 19, 2015 at 5:17:11 PM UTC+7, tao hiko wrote:

> If I use highlight to query from ES that the result will generate new  
> section is "highlight".
> 
> How to store the result from highlight to "\_source" section as another  
> fields? Is it possible?
> 
> Thanks,  
> Hiko

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/17597893-e85a-4b41-8b50-45d3a12f37a9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/17597893-e85a-4b41-8b50-45d3a12f37a9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:13am UTC](https://discuss.elastic.co/t/highlighted-field-store-in--source/23645/3 "2017-07-06T00:13:20Z")

</div>


