I have a link like http://drive.google.com and I want to match \"google\" out of the link.
I have:
query: { bool : { must: {
For partial matching you can either use prefix or match_phrase_prefix.