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 < kumaravel.kandas...@gmail.co

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

2009-12-31 Thread Kumaravel Kandasami
Thanks Mike. I think it is something to do with the merge factor. Modified the code to do optimize in the finally block the following error message was thrown. Code Snippet: nameWriter.optimize(); // errors here nameWriter.close(); valueWriter.optimize(); //I am using mult

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

2009-12-31 Thread Michael McCandless
It sounds like you may be running out of file descriptors -- how many segments are in your index? 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,

Re: Question about many fields within a single index

2009-12-31 Thread Jason Tesser
right we do analyze a number of fields. We use the WHiteSpace whenever we have a text field. So maybe 5 on average per guy. Can be more of course. Thanks, Jason Tesser dotCMS Lead Development Manager 1-305-858-1422 On Wed, Dec 30, 2009 at 10:44 PM, Tom Hill wrote: > Hi - > > One thing to cons