Highlighted field store in _source


(tao hiko) #1

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/

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cca2f269-c9ab-48a5-94c9-2be6740043db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(tao hiko) #2

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/

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/17597893-e85a-4b41-8b50-45d3a12f37a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3