lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] Commented: (LUCENE-2266) problem with edgengramtokenfilter and highlighter
Date Sun, 14 Feb 2010 21:12:27 GMT


Uwe Schindler commented on LUCENE-2266:

As this patch is really simple, I have no problem with quickly putting into 2.9.2. Robert,
as we are in code freeze, I would like to apply it.

> problem with edgengramtokenfilter and highlighter
> -------------------------------------------------
>                 Key: LUCENE-2266
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/analyzers
>    Affects Versions: 2.9.1
>            Reporter: Joe Calderon
>            Assignee: Robert Muir
>            Priority: Minor
>         Attachments: LUCENE-2266.patch, LUCENE-2266.patch
> i ran into a problem while using the edgengramtokenfilter, it seems to report incorrect
offsets when generating tokens, more specifically all the tokens have offset 0 and term length
as start and end, this leads to goofy highlighting behavior when creating edge grams for tokens
beyond the first one, i created a small patch that takes into account the start of the original
token and adds that to the reported start/end offsets.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message