I've been digging on a similar issue and eventually found this Jira ticket.
https://issues.apache.org/jira/browse/LUCENE-2229
So far I haven't received any response in IRC or from the mailing list, and
the bug is resolved as "won't fix" even though there's a patch attached
that attempts to solve
Hey everyone,
I ran into an issue with the standard highlighter in 4.10.4 and was hoping
that someone could help. I'm attempting to fragment a result based on a
SpanNearQuery. If the words in the query are next to each other, the
fragmenter will often return one large result containing the entire