lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject Bug within HTMLParser.jj?
Date Sat, 25 Jan 2003 01:50:40 GMT
Hi

There seems to be a bug within

org/apache/lucene/demo/html/HTMLParser.jj

when the "HTML Title" is very long (I guess longer
than the 200 characters)

When the HTML Title is too long, then the wait(10) loop
within the getSummary() method
is not being left, because it seems
that no more characters are being added.

I my case I made a quick fix by adding some MAX_WAIT value:

         elapsedMillis=elapsedMillis+10;
         if(elapsedMillis > MAX_WAIT) break;

Is anybody else experiencing the same problem?

Thanks

Michael


--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message