thanks Joe, good catch!

On Sun, Feb 14, 2010 at 2:43 PM, Joe Calderon <calderon....@gmail.com>wrote:

> lucene-2266 filed and patch posted.
>
> On 02/13/2010 09:14 PM, Robert Muir wrote:
>
>> Joe, can you open a Lucene JIRA issue for this?
>>
>> I just glanced at the code and it looks like a bug to me.
>>
>> On Sun, Feb 14, 2010 at 12:07 AM, Joe Calderon<calderon....@gmail.com
>> >wrote:
>>
>>
>>
>>> 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.
>>>
>>>
>>>
>>
>>
>>
>>
>
>


-- 
Robert Muir
rcm...@gmail.com

Reply via email to