lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Shaw (JIRA)" <>
Subject [jira] Updated: (LUCENENET-11) Avoiding non necessary exceptions
Date Thu, 26 Oct 2006 20:10:19 GMT
     [ ]

Joe Shaw updated LUCENENET-11:

    Attachment: 11_charstream-no-exceptions.patch

I just noticed that we've had a similar patch in our tree (for Beagle) for quite some time
and have been using it for over a year.  It only addresses the FastCharStream in the StandardAnalyzer,
but it should be easy to apply it to the QueryParser as well.

> Avoiding non necessary exceptions
> ---------------------------------
>                 Key: LUCENENET-11
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Improvement
>            Reporter: Fabio Buscaroli
>         Attachments: 11_charstream-no-exceptions.patch, lucene-net-exception.patch,,
> 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
> - FastCharStream.ReadChar() returns '\0' if we are trying to read byond the end of the
> - 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:
For more information on JIRA, see:


View raw message