Oh, that is not a good news. So when the index is updated, the held searcher will get the old documents? That is indeed not a good idea to keep the hits. I had thought lucene did this work for users.
Best Regards. jacky ----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]> To: <java-user@lucene.apache.org> Sent: Wednesday, September 06, 2006 5:09 PM Subject: Re: Keep hits in results > > On Sep 6, 2006, at 4:41 AM, jacky wrote: > > > Erik, thanks! > > You are right! It is not a good idea to hold on a hits since the > > index will be updated. > > So, when i keep a hits, and then the index is updated, the searcher > > will be auto-updated,too. rigtht? > > No, Lucene itself has no "auto-update" of any kind. This is the > stuff that must be built on top of it, like Solr and other projects > have done. > > Erik > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >