lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvora <>
Subject Re: Is there a way to limit the size of an index?
Date Thu, 07 Jan 2010 16:04:35 GMT

Can you explain how the combination of merge factor and max merge size
control the size of files?

For example, if one would like to limit the files size to 3,4 or 7MB - how
these parameters values can be predicted?

Michael McCandless-2 wrote:
> This tells the IndexWriter NOT to merge any segment that's over 1.0 MB
> in size.  With a default merge factor of 10, this should "generally"
> mean you don't get a segment over 10MB, though it may not be a hard
> guarantee (you can lower the 1.0 if you still see a segment over 10
> MB).

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message