Re: Lucene 2.9: IOException from IndexReader.reopen() - Real time search

2009-12-31 Thread Kumaravel Kandasami
Identified the problem. reader.close() was not getting called in a specific logic flow. Thank You. Kumar_/|\_ www.saisk.com ku...@saisk.com "making a profound difference with knowledge and creativity..." On Thu, Dec 31, 2009 at 11:11 AM, Kumaravel Kandasami < kum

Re: Lucene 2.9: IOException from IndexReader.reopen() - Real time search

2009-12-31 Thread Kumaravel Kandasami
ndex? > > The reopen logic looks correct (you are closing the old reader). Is > there anything else that may be holding files open? > > Have you changed any of IW's settings, eg mergeFactor? > > Mike > > On Wed, Dec 30, 2009 at 3:21 PM, Kumaravel Kandasami > wrote

Lucene 2.9: IOException from IndexReader.reopen() - Real time search

2009-12-30 Thread Kumaravel Kandasami
I am getting IOException when I am doing a "Real-time" search, i.e. I am creating a Index using the Index Writer and also opening the Index using Index Reader (writer.getReader()) to make sure the document does not exist prior adding to the Index file. The code works perfect fine multiple time ind