lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zsolt.szloboda" <zsolt.szlob...@gmail.com>
Subject Highlighter - SimpleSpanFragmenter bug
Date Sun, 11 Jan 2015 14:38:48 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message