Can i highlight actual query to elasticsearch

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
To view this discussion on the web visit
For more options, visit