lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <>
Subject [jira] Commented: (LUCENENET-156) Contrib -> getBestTextFraments error
Date Fri, 26 Jun 2009 01:29:07 GMT


George Aroush commented on LUCENENET-156:


I have not done much with the Highlighter code or any of the contrib code in a while.  My
comment to Poul was based on comparing this line to what's in the Java version.  I believe
the fix need to be based on my comment and not Poul's.

-- George

> Contrib -> getBestTextFraments error
> ----------------------------------------------------
>                 Key: LUCENENET-156
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: .NET framework
>            Reporter: Poul Erik Nielsen
> In line 274 and 275 is comment out. So far, it's obvious written wrong. It should look
like this. 
> if (lastEndOffset < text.Length)
>     newText.Append(encoder.EncodeText(text.Substring(lastEndOffset)));
> If this code is comment out, it could cut off the end of the field. Example i field ends
with </span> the newText would end as </span 
> Please correct it in the next release.
> Poul 

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

View raw message