RE: best ways of using IndexSearcher

2004-11-17 Thread Aviran
Yes, IndexSearcher is thread safe. Aviran http://www.aviransplace.com -Original Message- From: Abhay Saswade [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 15:16 PM To: Lucene Users List Subject: Re: best ways of using IndexSearcher Hello, Can I use single instance of

Re: best ways of using IndexSearcher

2004-11-16 Thread Abhay Saswade
Hello, Can I use single instance of IndexSearcher in multiple threads with sorting? Thanks, Abhay - Original Message - From: "Otis Gospodnetic" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 8:51 PM

RE: best ways of using IndexSearcher

2004-06-29 Thread Otis Gospodnetic
TED] > Sent: Tuesday, June 29, 2004 2:51 PM > To: Lucene Users List > Subject: Re: best ways of using IndexSearcher > > Anson, > > Use a single instance of IndexSearcher and, if you want to always > 'see' > even the latest index changes (deletes and adds since you

RE: best ways of using IndexSearcher

2004-06-29 Thread Anson Lau
PROTECTED] Sent: Tuesday, June 29, 2004 2:51 PM To: Lucene Users List Subject: Re: best ways of using IndexSearcher Anson, Use a single instance of IndexSearcher and, if you want to always 'see' even the latest index changes (deletes and adds since you opened the IndexSearcher) make s

Re: best ways of using IndexSearcher

2004-06-28 Thread Otis Gospodnetic
Anson, Use a single instance of IndexSearcher and, if you want to always 'see' even the latest index changes (deletes and adds since you opened the IndexSearcher) make sure to re-create the IndexSearcher when you detect that the index version has changed (see http://jakarta.apache.org/lucene/docs/