[ http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12434291 ] Mark Harwood commented on LUCENE-627: -------------------------------------
Hi Kerang, can you supply a patch/tests against the latest version? I committed a change to highlighter on the 16th August with what I beleived to be a fix for this problem: http://issues.apache.org/jira/browse/LUCENE-645 Looking at the patch you provided it seems to be old code which is missing support for this fix. Cheers Mark > highlighter problems with overlapping tokens > -------------------------------------------- > > Key: LUCENE-627 > URL: http://issues.apache.org/jira/browse/LUCENE-627 > Project: Lucene - Java > Issue Type: Bug > Components: Other > Affects Versions: 2.0.1 > Reporter: Yonik Seeley > Fix For: 2.0.1 > > Attachments: highlight_overlap.diff, Highlighter.java.diff > > > The lucene highlighter has problems when tokens that overlap are generated. > For example, if analysis of iPod generates the tokens "i", "pod", "ipod" > (with pod and ipod in the same position), > then the highlighter will output this as iipod, regardless of if any of those > tokens are highlighted. > Discovered via http://issues.apache.org/jira/browse/SOLR-24 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]