Re: demo HTML parser question

2004-09-23 Thread roy-lucene-user
On Thu, 23 Sep 2004 10:53:26 -0700, Doug Cutting wrote > [EMAIL PROTECTED] wrote: > > We were originally attempting to use the demo html parser (Lucene 1.2), but as > > you know, its for a demo. I think its threaded to optimize on time, to allow > > the calling thread to grab the title or top mess

Re: demo HTML parser question

2004-09-23 Thread Doug Cutting
[EMAIL PROTECTED] wrote: We were originally attempting to use the demo html parser (Lucene 1.2), but as you know, its for a demo. I think its threaded to optimize on time, to allow the calling thread to grab the title or top message even though its not done parsing the entire html document. That's

Re: demo HTML parser question

2004-09-23 Thread roy-lucene-user
Hi Fred, We were originally attempting to use the demo html parser (Lucene 1.2), but as you know, its for a demo. I think its threaded to optimize on time, to allow the calling thread to grab the title or top message even though its not done parsing the entire html document. That's just a guess,

demo HTML parser question

2004-09-22 Thread Fred Toth
Hi, I've been working with the HTML parser demo that comes with Lucene and I'm trying to understand why it's multi-threaded, and, more importantly, how to exit gracefully on errors. I've discovered if I throw an exception in the front-end static code (main(), etc.), the JVM hangs instead of exiting