lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilton, Reece" <Reece.Wil...@dig.com>
Subject RE: too many files within one index
Date Tue, 16 Sep 2003 16:35:39 GMT
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:hui@triplehop.com] 
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" <Reece.Wilton@dig.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
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:hui@triplehop.com]
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: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message