lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jxf jxf" <>
Subject a KeywordAnalyzer bug
Date Fri, 05 May 2006 06:57:50 GMT
at  1.9rc1 builder002  source  :  Analysis\KeywordTokenizer.cs

line51     if (length == -1)  this is wrong ,

TextReader.Read Method (Char[], Int32, Int32)
Return Value The number of characters that have been read. The number will
be less than or equal to count, depending on whether the data is available
within the stream. This method returns zero if called when no more
characters are left to read.

so it is if (length == 0)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message