the highlighter's SimpleSpanFragmenter has a bug
documented in https://issues.apache.org/jira/browse/LUCENE-2229
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: 
http://lucene.472066.n3.nabble.com/Highlighter-SimpleSpanFragmenter-bug-tp4178725.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to