What about 'delete()' or 'optimize()' while searching ?

Tal

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Doug
> Cutting
> Sent: Friday, June 08, 2001 9:15 AM
> To: 'Snyder, David'; [EMAIL PROTECTED]
> Subject: RE: [Lucene-users] IndexSearcher, thread safe?
> 
> 
> > From: Snyder, David [mailto:[EMAIL PROTECTED]]
> > 
> > I know there was recent discussion about problems with index 
> > updates and
> > searches happening at the same time, but beyond index 
> > updates, is it safe to
> > let multiple threads search concurrently using the same IndexSearcher?
> 
> No, I don't think there has ever been a problem with this.
> 
> The problems are only when you add documents, and then search with an
> IndexReader created before the additions were made.
> 
> Doug
> 
> _______________________________________________
> Lucene-users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/lucene-users
> 

_______________________________________________
Lucene-users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-users

Reply via email to