Hi Doug,

Thanks for your email and sorry for not trying 1.4.2 before emailing in.  It works 
great since trying the latest version and I now have a fully working test program 
which regenerates the Searcher object in the background and then when that thread is 
finished any new searches use the new Searcher object with the new Sort.  The searches 
stay fast even while regenerating (as I give the background thread low priority) and 
the updates are reflected in the search results at regular intervals.   There don't 
seem to be any memory leaks or anything either. Thanks again for your help and next 
time will definately try latest version first :-)

Steve 
  ----- Original Message ----- 
  From: Doug Cutting 
  To: Lucene Users List 
  Sent: Friday, October 08, 2004 7:21 PM
  Subject: Re: Sort regeneration in multithreaded server


  Stephen Halsey wrote:
  > I was wondering if anyone could help with a problem (or should that be
  > "challenge"?) I'm having using Sort in Lucene over a large number of records
  > in multi-threaded server program on a continually updated index.
  > 
  > I am using lucene-1.4-rc3.

  A number of bugs with the sorting code have been fixed since that 
  release.  Can you please try with 1.4.2 and see if you still have the 
  problem?  Thanks.

  Doug

  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to