The lower the number, the more often a new file is created. Since creating/opening files with Lucene seems to cause issues on Windows, I increased this to 100. This solved my file locking problems and still gave me good performance (I am able to perform over 200 queries/second from a servlet being hit from a remote machine).
-----Original Message----- From: hui [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 6:46 AM To: Lucene Users List Subject: Re: too many files within one index Hi Reece, Thank you for the clue. Based on the document from Otis, if I understand welll, it seems a lower mergeFactor should be used. http://www.onjava.com/pub/a/onjava/2003/03/05/lucene.html Regards, Hui ----- Original Message ----- From: "Wilton, Reece" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 1:37 PM Subject: RE: too many files within one index Set the mergefactor to a higher number. -----Original Message----- From: hui [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 10:25 AM To: Lucene Users List Subject: too many files within one index Hi, I am using Lucene 1.3 rc released on March.20, 2003. For some reason, the files in the index directory increase very very quickly for some documents and reach over 3000 files within half hour and even can not optimize the index.Then it grows up to 33000 files within one index. In most of other testing cases, it normally never reach 1000 even without optimization. Any idea about this? regards, Hui --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]