Offsets of the highlighted terms


(Pierre De Soyres) #1

Hi,

I'm wondering if it is possible to have offsets of the highlighted elements
without having to manualy parse the highlight result.

For instance, on the highlight result :
"A new bonsai tree in the office"

I would like to have the offsets of the two hits "bonsai" and "tree". Here
the result would be : bonsai :[6, 12] and tree:[13, 17]

If it's not possible right now, it would be nice to have it in next versions

Pierre

--
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/d3af3be0-06a3-4caf-a283-8dc5dd1776a5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2