Can i highlight actual query to elasticsearch


(nicktackes) #1

I am passing in a full phrase and using a shingle filter to match sub
phrases in that string. What I would like is to be able to 'mark' the
initial request with what is matched and what is not matched. Is there a
way to highlight or get the offset position of where the match was made
within the original string?

--
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/ce5c9e65-eb8b-4fac-a35e-624e2a37203d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2