Re: bug of highlighter/SimpleSpanFragmenter, returned longer fragment than expected?

2015-08-12 Thread Robert Alexander
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

Standard highlighter returns whole document as a fragment

2015-08-06 Thread Robert Alexander
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