lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zsolt.szloboda" <>
Subject Highlighter - SimpleSpanFragmenter bug
Date Sun, 11 Jan 2015 14:38:48 GMT
the highlighter's SimpleSpanFragmenter has a bug
documented in
that practically makes it unusable with PhraseQuery

I can confirm that the bug still exists in version 4.10
(the JIRA issue was created back in year 2010)

the symptom is that
if there is a stopword at the end of a fragment,
the rest of the document becomes a single big fragment

the interesting thing is that the JIRA issue also contains a patch
(which works, I can confirm)
that is obviously not applied to the official source code;
it also contains a test case

my question is:
- is this really a bug? or am I overlooking something?
- if this is a bug, why was it closed with "wont't fix"? why wasn't the
patch applied?

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message