lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-627) highlighter problems with overlapping tokens
Date Fri, 14 Jul 2006 14:53:14 GMT
    [ ] 
Yonik Seeley commented on LUCENE-627:

Right... I'm not sure the highlighter should be expected to handle all cases, but WordDelimiterFilter
doesn't seem *that* complex or atypical.

"a-b-c" would be indexed as "a","b","c"/"abc"
(c and abc occupy the same token position)

Another thing I ran across is the addition of non-scoring tokens to a TokenGroup... this ends
up highlighting the widest token in the token group, rather than the widest that matched.
 I was able to get around this by checking that score>0 in TokenGroup, but was this indended?

> highlighter problems with overlapping tokens
> --------------------------------------------
>                 Key: LUCENE-627
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.0.1
>            Reporter: Yonik Seeley
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message