Re: closing searcher

2006-03-15 Thread Otis Gospodnetic
You are correct. Reuse IndexSearcher. Otis - Original Message From: Amol Bhutada <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, March 15, 2006 7:14:49 PM Subject: closing searcher Hi, I am using lucene in a j2ee based webapplication. I have created a one in

closing searcher

2006-03-15 Thread Amol Bhutada
Hi, I am using lucene in a j2ee based webapplication. I have created a one instance of reader and searcher object and trying to use that for all searches from different users without recreating/refreshing reader & searcher objects. Is this fine? I am asking this because I am reading http://www.