[ 
http://issues.apache.org/jira/browse/LUCENENET-11?page=comments#action_12444726 
] 
            
Marco Dissel commented on LUCENENET-11:
---------------------------------------

I really agree on this one.. We should add this patch and benefit of the 
perfomance issue..

Thanks

Marco

> Avoiding non necessary exceptions
> ---------------------------------
>
>                 Key: LUCENENET-11
>                 URL: http://issues.apache.org/jira/browse/LUCENENET-11
>             Project: Lucene.Net
>          Issue Type: Improvement
>            Reporter: Fabio Buscaroli
>         Attachments: patch.zip, patch2.zip
>
>
> As already said in previous issues, there are few exceptions that are raised 
> for  no reason (apparently).
> I updated  FastCharStream, QueryParserTokenManager, FieldInfos to avoid these 
> kind of exception.
> - FastCharStream.ReadChar() returns '\0' if we are trying to read byond the 
> end of the stream.
> - Updated QueryParserTokenManager to support the previous fix
> - Update FieldInfos.FieldName. No more reading take place if fieldNumber is 
> -1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to