You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Scott Lombard (JIRA)" <ji...@apache.org> on 2011/03/30 00:59:05 UTC

[Lucene.Net] [jira] [Commented] (LUCENENET-172) This patch fixes the unexceptional exceptions ecountered in FastCharStream and SupportClass

    [ https://issues.apache.org/jira/browse/LUCENENET-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012760#comment-13012760 ] 

Scott Lombard commented on LUCENENET-172:
-----------------------------------------

I am going to modify FastCharStream to include the functions ReadChar() and BeginToken() found in the patch.  The original functions I will mark as obsolete to minimize the impact of the deviation from Java Lucene.

> This patch fixes the unexceptional exceptions ecountered in FastCharStream and SupportClass
> -------------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-172
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-172
>             Project: Lucene.Net
>          Issue Type: Improvement
>          Components: Lucene.Net Core
>    Affects Versions: Lucene.Net 2.3.1, Lucene.Net 2.3.2
>            Reporter: Ben Martz
>            Assignee: Scott Lombard
>            Priority: Minor
>             Fix For: Lucene.Net 2.9.4
>
>         Attachments: lucene_2.3.1_exceptions_fix.patch
>
>
> The java version of Lucene handles end-of-file in FastCharStream by throwing an exception. This behavior has been ported to .NET but the behavior carries an unacceptable cost in the .NET environment. This patch is based on the prior work in LUCENENET-8 and LUCENENET-11, which I gratefully acknowledge for the solution. While I understand that this patch is outside of the current project specification in that it deviates from the "pure" nature of the port, I believe that it is very important to make the patch available to any developer looking to leverage Lucene.Net in their project. Thanks for your consideration.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira