> I had a requirement to implement phrase proximity like ["a > b c" w/5 "d e f"] for > this i have implemented a custom query parser plug in which > I make use of nested > span queries to fulfill this requirement. Now it looks that > documents are > filtered correctly, but there is an issue in highlighting > that also highlights > the terms that are alone(not in phrase), can some body > suggest me a fix to this > issue >
Appending &hl.usePhraseHighlighter=true should work.